mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Add additional labels to a monitor #3078
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#3078
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 @xathon on GitHub (Jan 29, 2024).
📑 I have found these related issues/pull requests
The issue is similar to #4344 and the issues linked in there, but this request is more about passing additional options to a notification.
🏷️ Feature Request Type
API / automation options, Change to existing notification-provider
🔖 Feature description
I would like to be able to add additional "labels" to a monitor, which could be passed to a notification. Those keys and values should be configurable by the user and usable in the notification wizard by referencing the monitor JSON.
✔️ Solution
The monitor json object should be extended to hold the labels:
These labels should be configured on the monitor add/edit page.
❓ Alternatives
No response
📝 Additional Context
My use case is that I want to pass container names to a script which automatically restarts them. It would be possible to use the friendly name for that, but sometimes the name of the docker container is different to the name I picked for it in UK.
An alternative use case could e.g. be that an e-mail is sent to different persons based on what's specified in the monitor.