From fbcfea745a9694dc508dcd159ee690c03fd933ae Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Wed, 11 Nov 2020 00:07:18 +1100 Subject: [PATCH] k8s.jsonnet: Fix metrics rules restreamer should have a metrics rule, and segment_coverage should be with an underscore. --- k8s.jsonnet | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/k8s.jsonnet b/k8s.jsonnet index 93ec923..6ea089c 100644 --- a/k8s.jsonnet +++ b/k8s.jsonnet @@ -289,10 +289,11 @@ }, local metric_rule(name) = rule(name, "/metrics/%s" % name, "Exact"), paths: [ - // Map /metrics/NAME to each service (except restreamer) + // Map /metrics/NAME to each service metric_rule("downloader"), metric_rule("backfiller"), - metric_rule("segment-coverage"), + metric_rule("restreamer"), + metric_rule("segment_coverage"), metric_rule("thrimshim"), // Map /segments and /thrimbletrimmer to the static content nginx rule("nginx", "/segments", "Prefix"),