diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-09-14 04:12:44 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-09-15 07:49:29 +0300 |
commit | 297d3a48c553b54093462068ff28543236be6649 (patch) | |
tree | 6e764327dbe1817ab3e9f48ea1ceab37279ab8c3 /metrics/metrics.go | |
parent | 17f10d8dbff9d228e111b99063bc71fc10695000 (diff) |
Update metrics acceptance tests
Remove metrics_test.go and leave responsibility of testing to
acceptance_test.go with `TestPrometheusMetricsCanBeScraped`.
Update TODOs with issue links.
Diffstat (limited to 'metrics/metrics.go')
-rw-r--r-- | metrics/metrics.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/metrics/metrics.go b/metrics/metrics.go index de4206b5..c2bf6566 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -5,6 +5,7 @@ import ( ) var ( + // TODO: remove disk source metrics https://gitlab.com/gitlab-org/gitlab-pages/-/issues/382 // DomainsServed counts the total number of sites served DomainsServed = prometheus.NewGauge(prometheus.GaugeOpts{ Name: "gitlab_pages_served_domains", |