mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/prometheus] harmonization of regex reference without braces (#10055)
Signed-off-by: Pierre DEMAGNY <pierre.demagny@citymeo.fr>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
10b1ce879e
commit
f705a103ec
@@ -1,5 +1,5 @@
|
||||
name: prometheus
|
||||
version: 8.1.1
|
||||
version: 8.1.2
|
||||
appVersion: 2.5.0
|
||||
description: Prometheus is a monitoring system and time series database.
|
||||
home: https://prometheus.io/
|
||||
|
||||
@@ -970,7 +970,7 @@ serverFiles:
|
||||
- source_labels: [__meta_kubernetes_node_name]
|
||||
regex: (.+)
|
||||
target_label: __metrics_path__
|
||||
replacement: /api/v1/nodes/${1}/proxy/metrics
|
||||
replacement: /api/v1/nodes/$1/proxy/metrics
|
||||
|
||||
|
||||
- job_name: 'kubernetes-nodes-cadvisor'
|
||||
@@ -1002,7 +1002,7 @@ serverFiles:
|
||||
# This configuration will work only on kubelet 1.7.3+
|
||||
# As the scrape endpoints for cAdvisor have changed
|
||||
# if you are using older version you need to change the replacement to
|
||||
# replacement: /api/v1/nodes/${1}:4194/proxy/metrics
|
||||
# replacement: /api/v1/nodes/$1:4194/proxy/metrics
|
||||
# more info here https://github.com/coreos/prometheus-operator/issues/633
|
||||
relabel_configs:
|
||||
- action: labelmap
|
||||
@@ -1012,7 +1012,7 @@ serverFiles:
|
||||
- source_labels: [__meta_kubernetes_node_name]
|
||||
regex: (.+)
|
||||
target_label: __metrics_path__
|
||||
replacement: /api/v1/nodes/${1}/proxy/metrics/cadvisor
|
||||
replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor
|
||||
|
||||
# Scrape config for service endpoints.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user