Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Kubernetes Monitoring Helm Chart
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Monitoring
helm-charts
Kubernetes Monitoring Helm Chart
Commits
7f8c742a
Commit
7f8c742a
authored
2 months ago
by
Guillermo Facundo Colunga
Browse files
Options
Downloads
Patches
Plain Diff
[MONIT-4105] templates/nodeexporter: allow user provided relabelings
parent
bd0d1af0
No related branches found
No related tags found
Tags containing commit
1 merge request
!40
[MONIT-4105] Add Support for Prometheus Server Custom Relabelings
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/node_exporter/podmonitor.yaml
+3
-0
3 additions, 0 deletions
templates/node_exporter/podmonitor.yaml
with
3 additions
and
0 deletions
templates/node_exporter/podmonitor.yaml
+
3
−
0
View file @
7f8c742a
...
...
@@ -18,4 +18,7 @@ spec:
sourceLabels
:
-
__meta_kubernetes_pod_node_name
targetLabel
:
instance
{{
- if and .Values.metrics.nodeExporter .Values.metrics.nodeExporter.serviceMonitor.relabelings
}}
{{
- .Values.metrics.nodeExporter.serviceMonitor.relabelings | toYaml | nindent 4
}}
{{
- end
}}
{{
- end -
}}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment