mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 02:25:56 +00:00
14 lines
505 B
Go
14 lines
505 B
Go
package monitoring
|
|
|
|
// PBSMonitorResourceID is the stable runtime identity used by PBS state,
|
|
// alerts, and canonical-resource alias resolution for one configured instance.
|
|
func PBSMonitorResourceID(instanceName string) string {
|
|
return "pbs-" + instanceName
|
|
}
|
|
|
|
// PMGMonitorResourceID is the stable runtime identity used by PMG state,
|
|
// alerts, and canonical-resource alias resolution for one configured instance.
|
|
func PMGMonitorResourceID(instanceName string) string {
|
|
return "pmg-" + instanceName
|
|
}
|