Skip to content

Commit

Permalink
prometheus: add hostname on label from node-exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
sungil committed Nov 16, 2023
1 parent f123994 commit add3b8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lma/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,11 @@ spec:
prometheus:
monitor:
enabled: true
relabelings:
- action: replace
sourceLabels:
- __meta_kubernetes_endpoint_node_name
targetLabel: hostname
extraArgs:
- --no-collector.hwmon
tolerations:
Expand Down

0 comments on commit add3b8b

Please sign in to comment.