Prometheus Metrics #2
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_secondsgodoor_unknown_card_swipe_total->godoor_swipes_totaland have labelstatuswhich would be eitheraccepted,deniedandunknowngodoor_door_opened_total->godoor_door_opens_totalgodoor_api_request_failed_total->godoor_api_request_failures_totaland label could be maybeendpointgodoor_cards_in_allow_list_total->godoor_allowed_card_hashes_totalPrometheus Metricsto WIP: Prometheus Metricsdcf7bb1103to22487faf06Updated the naming
WIP: Prometheus Metricsto Prometheus MetricsLGTM