Prometheus Metrics #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "prometheus-metrics"
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?
This pull request adds Prometheus endpoint to godoor.
It would be great to get some feedback on metric naming
Metrics endpoint also includes bunch of default default go internal metrics and promhttp metrics.
Closes: #1
Looks good but maybe names can be adjusted a bit
godoor_last_sync_timestamp_seconds
->godoor_last_allow_list_sync_timestamp_seconds
godoor_unknown_card_swipe_total
->godoor_swipes_total
and have labelstatus
which would be eitheraccepted
,denied
andunknown
godoor_door_opened_total
->godoor_door_opens_total
godoor_api_request_failed_total
->godoor_api_request_failures_total
and label could be maybeendpoint
godoor_cards_in_allow_list_total
->godoor_allowed_card_hashes_total
Prometheus Metricsto WIP: Prometheus Metricsdcf7bb1103
to22487faf06
Updated the naming
WIP: Prometheus Metricsto Prometheus MetricsLGTM