Skip to content

Commit

Permalink
fix: target down in Prometheus (#5493)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Innis <[email protected]>
  • Loading branch information
marsn and jonathan-innis authored Jan 24, 2024
1 parent 1236e96 commit 7fc2f01
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ extraScrapeConfigs: |
names:
- kube-system
relabel_configs:
- source_labels: [__meta_kubernetes_endpoint_port_name]
regex: http-metrics
- source_labels:
- __meta_kubernetes_endpoints_name
- __meta_kubernetes_endpoint_port_name
action: keep
regex: karpenter;http-metrics
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ extraScrapeConfigs: |
names:
- kube-system
relabel_configs:
- source_labels: [__meta_kubernetes_endpoint_port_name]
regex: http-metrics
- source_labels:
- __meta_kubernetes_endpoints_name
- __meta_kubernetes_endpoint_port_name
action: keep
regex: karpenter;http-metrics
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ extraScrapeConfigs: |
names:
- kube-system
relabel_configs:
- source_labels: [__meta_kubernetes_endpoint_port_name]
regex: http-metrics
- source_labels:
- __meta_kubernetes_endpoints_name
- __meta_kubernetes_endpoint_port_name
action: keep
regex: karpenter;http-metrics

0 comments on commit 7fc2f01

Please sign in to comment.