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 GOOS/GOARCH to agent_build_info metric #2706

Closed
rfratto opened this issue Jan 10, 2023 · 1 comment
Closed

Add GOOS/GOARCH to agent_build_info metric #2706

rfratto opened this issue Jan 10, 2023 · 1 comment
Labels
enhancement New feature or request frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Milestone

Comments

@rfratto
Copy link
Member

rfratto commented Jan 10, 2023

Adding more platform information in to agent_build_info metric would be useful for being able to determine which agents are running on which platforms.

@tpaschalis tpaschalis added enhancement New feature or request type/signals labels Jan 16, 2023
@tpaschalis tpaschalis added this to the v0.33.0 milestone Feb 28, 2023
@tpaschalis
Copy link
Member

This was added to prometheus/common#403 so we already have this information available.

curl -s localhost:12345/metrics | grep agent_build_info
# HELP agent_build_info A metric with a constant '1' value labeled by version, revision, branch, goversion from which agent was built, and the goos and goarch for the build.
# TYPE agent_build_info gauge
agent_build_info{branch="",goarch="arm64",goos="darwin",goversion="go1.20",revision="230e1fe05531dfe890c2f72c738105e5581c940d-modified",tags="netgo",version=""} 1

Closing this issue.

@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Feb 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
No open projects
Development

No branches or pull requests

2 participants