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

Add prometheus metric tracking client Bazel versions #6231

Merged
merged 3 commits into from
Mar 26, 2024

Conversation

iain-macdonald
Copy link
Contributor

Related issues: N/A

if err == nil {
majorVersion = strconv.Itoa(int(version.Major()))
}
metrics.InvocationsByBazelMajorVersionCount.With(
Copy link
Member

Choose a reason for hiding this comment

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

Should we include the minor version as well? Bazel changes quite a bit, even between minor versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sgtm, updated

@iain-macdonald iain-macdonald changed the title Add prometheus metric tracking client Bazel versions (major version only) Add prometheus metric tracking client Bazel versions Mar 25, 2024
@iain-macdonald iain-macdonald merged commit ea55ffd into master Mar 26, 2024
13 of 17 checks passed
@iain-macdonald iain-macdonald deleted the bazelversionmetric branch March 26, 2024 16:54
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.

None yet

2 participants