Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[teraslice] fix 'teraslice_version' and 'version' prom metrics labels #3821

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

busma13
Copy link
Contributor

@busma13 busma13 commented Nov 12, 2024

This PR makes the following changes to match the external prom-metrics exporter exactly:

  • The teraslice_version label value should start with a v
  • The version label should be the complete docker image tag unless there is an _. In that case the tag will be everything before the underscore.

ref: #3743

@busma13 busma13 force-pushed the prom-metrics-version-fix branch from 1d2b3a2 to b90eced Compare November 12, 2024 17:55
@busma13 busma13 added this to the Teraslice 2.8.0 milestone Nov 12, 2024
@busma13 busma13 marked this pull request as ready for review November 12, 2024 22:13
@busma13 busma13 requested review from godber and sotojn November 12, 2024 22:13
Copy link
Contributor

@sotojn sotojn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@busma13 busma13 self-assigned this Nov 13, 2024
@godber godber merged commit 91e0d62 into master Nov 13, 2024
48 checks passed
@godber godber deleted the prom-metrics-version-fix branch November 13, 2024 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants