mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
iframe - Quick Stats Link for Embedding in Site #1278
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#1278
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @spower1966 on GitHub (Jul 20, 2022).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ Feature Request Type
UI Feature
🔖 Feature description
Is it possible to have the Quick States available for embedding in an iFrame ?
Would be great to be able to embed into another web site for quick overview
✔️ Solution
iFrame availability of Quick Stats for be embedded in another web site.
Anonymous connection
❓ Alternatives
No response
📝 Additional Context
No response
@kristiandg commented on GitHub (Jul 20, 2022):
Ooo, that's a good one. I'd love that as well, so you could then create a small (more abridged) panel if you wanted, for a website. Selectable to either show all the data, or just the summary banner (All Systems Operational, Partially Degraded, etc), which clicking on that link then takes you to the detailed dashboard. Nice.
@sacarino commented on GitHub (Sep 8, 2022):
It would be great if this wasn't specifically an iframe. That's a bit limiting.
I'm looking for ways to get that summary data like
All Systems Operational,Partially Degraded, but I'd like to be able to style it, etc. to match the client that it would be displayed in.Maybe this could be an
GETendpoint that returns a json payload? Just thinking about the API being discussed in #118@ianpogi5 commented on GitHub (Aug 4, 2023):
I think a quick stats api would be great so anyone can embed the data to anywhere they like.
An example would be:
And then return something like:
@CommanderStorm commented on GitHub (Aug 4, 2023):
Look at
https://status.yourdomain.xyz/api/status-page/your-status-page-name. It returns a JSON of all the added status monitors, but if you need heartbeat, look athttps://status.yourdomain.xyz/api/status-page/heartbeat/your-status-page-name.@Subbeh commented on GitHub (Aug 6, 2023):
Is there an easy way just to see if the current overall status of the services is degraded/operational? Without having to fetch the entire heartbeat history of all the monitors.
@RK62 commented on GitHub (Sep 3, 2023):
Thanks for the tip. Unfortunately, the links do not give any information about the status of the individual monitors. even if I evaluate the time series, paused monitors continue with the output of the last status.
The suggestion of @ianpogi5 will be a good solution for integrations. Additionally, there is no need to remember to add new monitors to a status page.
If this becomes too complex, an output with the last status of all monitors would be good, so that you can easily count and evaluate yourself. This will be my preferred solution.