Add notification metrics
It adds notification related prometheus metrics, including: - total count for events/success/failure/error - total count for notification per each status code - gauge of the pending notification queue Signed-off-by: tifayuki <tifayuki@gmail.com>
This commit is contained in:
parent
0d3efadf01
commit
8b70616846
2 changed files with 31 additions and 0 deletions
|
@ -10,4 +10,7 @@ const (
|
|||
var (
|
||||
// StorageNamespace is the prometheus namespace of blob/cache related operations
|
||||
StorageNamespace = metrics.NewNamespace(NamespacePrefix, "storage", nil)
|
||||
|
||||
// NotificationsNamespace is the prometheus namespace of notification related metrics
|
||||
NotificationsNamespace = metrics.NewNamespace(NamespacePrefix, "notifications", nil)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue