Skip to content

[v15] Expose the cache health as a prometheus metric#54904

Merged
rosstimothy merged 1 commit intobranch/v15from
tross/backport-54776/v15
May 19, 2025
Merged

[v15] Expose the cache health as a prometheus metric#54904
rosstimothy merged 1 commit intobranch/v15from
tross/backport-54776/v15

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #54776 to branch/v15

Changelog: Expose the Teleport service cache health via prometheus metrics.

Adds two new gauges to track cache health.

- `teleport_cache_health`: labeled by component, it reflects if the
cache is healthy and populated. A value of 1 means healthy,
a value of 0 means unhealthy.

- `teleport_cache_last_reset_seconds`, labeled by component, it
reflects the last unix time in seconds that the cache was reset.
@rosstimothy rosstimothy force-pushed the tross/backport-54776/v15 branch from daddba0 to 48f83b1 Compare May 16, 2025 22:27
@rosstimothy rosstimothy marked this pull request as ready for review May 16, 2025 22:36
@github-actions github-actions Bot requested review from espadolini and zmb3 May 16, 2025 22:36
@rosstimothy rosstimothy enabled auto-merge May 16, 2025 23:12
@rosstimothy rosstimothy added this pull request to the merge queue May 19, 2025
Merged via the queue into branch/v15 with commit f135d6e May 19, 2025
35 checks passed
@rosstimothy rosstimothy deleted the tross/backport-54776/v15 branch May 19, 2025 07:40
@fheinecke fheinecke mentioned this pull request May 21, 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