prometheus_get_build_info
Retrieve Prometheus build details including version, Go version, Git revision, branch, build user, and build date to identify version-specific behavior or debug issues.
Instructions
Get Prometheus build information.
Wraps GET /api/v1/status/buildinfo. Returns version, Go version,
Git revision, branch, build user, and build date.
Examples:
- Use when: "What version of Prometheus is running?" → check version.
- Use when: Debugging version-specific behavior.
- Don't use when: You want runtime stats
(call prometheus_get_runtime_info).
Returns:
dict with version / revision / branch / buildUser /
buildDate / goVersion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| version | Yes | ||
| revision | Yes | ||
| buildDate | Yes | ||
| buildUser | Yes | ||
| goVersion | Yes |