diff --git a/camdetect.py b/camdetect.py index 1a51656..717a503 100755 --- a/camdetect.py +++ b/camdetect.py @@ -101,11 +101,13 @@ gauge_queue_frames = Gauge( "Numer of frames in a queue", ["stage"]) gauge_build_info = Gauge( - "camtiler_build_info", + "docker_build_info", "Build info", - ["git_hash"]) + ["git_commit", "git_commit_timestamp"]) -gauge_build_info.labels(os.getenv("GIT_COMMIT", "null")).set(1) +gauge_build_info.labels( + os.getenv("GIT_COMMIT", "null"), + os.getenv("GIT_COMMIT_TIMESTAMP", "null")).set(1) # Reset some gauges gauge_queue_frames.labels("download").set(0)