monitoring: use prometheus model.Duration
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