Skip to content

[v16] Expose the cache health as a prometheus metric#54903

Merged
rosstimothy merged 1 commit intobranch/v16from
tross/backport-54776/v16
May 19, 2025
Merged

[v16] Expose the cache health as a prometheus metric#54903
rosstimothy merged 1 commit intobranch/v16from
tross/backport-54776/v16

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #54776 to branch/v16

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/v16 branch from 789e320 to 63b18d7 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/v16 with commit a23c74d May 19, 2025
41 checks passed
@rosstimothy rosstimothy deleted the tross/backport-54776/v16 branch May 19, 2025 07:40
@fheinecke fheinecke mentioned this pull request May 22, 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