This commit is contained in:
parent
85c9adfe74
commit
188de3a192
@ -101,11 +101,13 @@ gauge_queue_frames = Gauge(
|
|||||||
"Numer of frames in a queue",
|
"Numer of frames in a queue",
|
||||||
["stage"])
|
["stage"])
|
||||||
gauge_build_info = Gauge(
|
gauge_build_info = Gauge(
|
||||||
"camtiler_build_info",
|
"docker_build_info",
|
||||||
"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
|
# Reset some gauges
|
||||||
gauge_queue_frames.labels("download").set(0)
|
gauge_queue_frames.labels("download").set(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user