Skip to content

Commit

Permalink
Generate new overrides yaml/libsonnet file(s).
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis CI committed Apr 6, 2020
1 parent 3056479 commit 4a4b12f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy/helm/prometheus-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,10 @@ prometheus:
- action: keep
regex: (?:up|prometheus_remote_storage_.*|fluentd_.*|fluentbit.*|otelcol.*)
sourceLabels: [__name__]
- # control plane metrics
# coredns
url: http://$(CHART).$(NAMESPACE).svc.cluster.local:9888/prometheus.metrics.application.control-plane
writeRelabelConfigs:
- action: keep
regex: (?:coredns_.*)
sourceLabels: [__name__]
12 changes: 12 additions & 0 deletions deploy/kubernetes/kube-prometheus-sumo-logic-mixin.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,18 @@
]
}
]
},
{
url: $._config.sumologicCollectorSvc + "prometheus.metrics.application.control-plane",
writeRelabelConfigs: [
{
action: "keep",
regex: "(?:coredns_.*)",
sourceLabels: [
"__name__"
]
}
]
}
],
},
Expand Down

0 comments on commit 4a4b12f

Please sign in to comment.