mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[PR #633] [MERGED] feat(metrics): add bambuddy_build_info metric #1089
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#1089
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/maziggy/bambuddy/pull/633
Author: @sw1nn
Created: 3/6/2026
Status: ✅ Merged
Merged: 3/7/2026
Merged by: @maziggy
Base:
0.2.3b1← Head:main📝 Commits (1)
ae80eaafeat(metrics): add bambuddy_build_info metric📊 Changes
1 file changed (+17 additions, -0 deletions)
View changed files
📝
backend/app/api/routes/metrics.py(+17 -0)📄 Description
Description
Add a
bambuddy_build_infogauge metric to the Prometheus metrics endpoint that exposes build and version information, including the application version, Python version, platform, and architecture.Related Issue
Type of Change
Changes Made
bambuddy_build_infogauge metric tobackend/app/api/routes/metrics.pyversion,python_version,platform,architectureAPP_VERSIONfrom config and Python'splatformmoduleScreenshots
Example metric output:
Testing
Checklist
Additional Notes
This follows the standard Prometheus
_build_infoconvention (similar toprometheus_build_info). The metric always has value1and carries version/environment details as labels, making it useful for dashboards and alerting on version changes.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.