Skip to content

[v16] Machine ID: Add Prometheus metrics for loop tasks (#52410)#52729

Merged
timothyb89 merged 1 commit intobranch/v16from
timothyb89/v16/tbot-loop-prometheus-metrics
Mar 11, 2025
Merged

[v16] Machine ID: Add Prometheus metrics for loop tasks (#52410)#52729
timothyb89 merged 1 commit intobranch/v16from
timothyb89/v16/tbot-loop-prometheus-metrics

Conversation

@timothyb89
Copy link
Copy Markdown
Contributor

@timothyb89 timothyb89 commented Mar 4, 2025

Backport of #52410 for branch/v16

changelog: Machine ID: Added new Prometheus metrics to track success and failure of renewal loops


  • Machine ID: Add Prometheus metrics for loop tasks

This adds a number of Prometheus metrics to help track success, failure, and timing for loop iterations. The loop helper is used across tbot services, so these metrics universally cover identity and output renewals, among other tasks.

Also, renames service_heatbeat.go, which was misspelled.

  • Include service name as a label; rename metrics for conventions

* Machine ID: Add Prometheus metrics for loop tasks

This adds a number of Prometheus metrics to help track success,
failure, and timing for loop iterations. The loop helper is used
across tbot services, so these metrics universally cover identity
and output renewals, among other tasks.

Also, renames `service_heatbeat.go`, which was misspelled.

* Include service name as a label; rename metrics for conventions
@timothyb89 timothyb89 added this pull request to the merge queue Mar 11, 2025
Merged via the queue into branch/v16 with commit eba7925 Mar 11, 2025
41 of 42 checks passed
@timothyb89 timothyb89 deleted the timothyb89/v16/tbot-loop-prometheus-metrics branch March 11, 2025 15:21
@fheinecke fheinecke mentioned this pull request Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants