Skip to content

chore(notifications): add action and artifact to metrics

Jaime Martinez requested to merge 851-add-actions-artifacts into master

Related to chore(notifications): enhance metrics with acti... (#851 - closed)

Updated metrics:

# HELP registry_notifications_errors_total The number of events that were not sent due to internal errors
# TYPE registry_notifications_errors_total counter
registry_notifications_errors_total 15
# HELP registry_notifications_events_total The number of total events
# TYPE registry_notifications_events_total counter
registry_notifications_events_total{action="delete",artifact="manifest",type="Events"} 2
registry_notifications_events_total{action="delete",artifact="manifest",type="Successes"} 2
registry_notifications_events_total{action="delete",artifact="tag",type="Events"} 4
registry_notifications_events_total{action="delete",artifact="tag",type="Successes"} 4
registry_notifications_events_total{action="pull",artifact="blob",type="Events"} 12
registry_notifications_events_total{action="pull",artifact="blob",type="Successes"} 12
registry_notifications_events_total{action="pull",artifact="tag",type="Events"} 1
registry_notifications_events_total{action="pull",artifact="tag",type="Successes"} 1
registry_notifications_events_total{action="push",artifact="tag",type="Events"} 9
registry_notifications_events_total{action="push",artifact="tag",type="Successes"} 9
# HELP registry_notifications_pending_total The gauge of pending events in queue
# TYPE registry_notifications_pending_total gauge
registry_notifications_pending_total 0
# HELP registry_notifications_status_total The number of status code
# TYPE registry_notifications_status_total counter
registry_notifications_status_total{code="200 OK"} 28
Edited by Jaime Martinez

Merge request reports