Skip to content

monitoring: use prometheus model.Duration

Administrator requested to merge monitoring/for-fix into master

Created by: bobheadxi

time.Duration marshals into a format not accepted by prometheus, this change updates the generator to use the prometheus duration format.

Confirmed that ./dev/prometheus.sh was broken by https://github.com/sourcegraph/sourcegraph/pull/12391, since that introduced our first usage of for - this PR fixes that

Merge request reports

Loading