k8s.jsonnet: Fix metrics rules

restreamer should have a metrics rule, and segment_coverage should be with an underscore.
pull/197/head
Mike Lang 4 years ago committed by Hubbe
parent 6e5e4b41df
commit fbcfea745a

@ -289,10 +289,11 @@
}, },
local metric_rule(name) = rule(name, "/metrics/%s" % name, "Exact"), local metric_rule(name) = rule(name, "/metrics/%s" % name, "Exact"),
paths: [ paths: [
// Map /metrics/NAME to each service (except restreamer) // Map /metrics/NAME to each service
metric_rule("downloader"), metric_rule("downloader"),
metric_rule("backfiller"), metric_rule("backfiller"),
metric_rule("segment-coverage"), metric_rule("restreamer"),
metric_rule("segment_coverage"),
metric_rule("thrimshim"), metric_rule("thrimshim"),
// Map /segments and /thrimbletrimmer to the static content nginx // Map /segments and /thrimbletrimmer to the static content nginx
rule("nginx", "/segments", "Prefix"), rule("nginx", "/segments", "Prefix"),

Loading…
Cancel
Save