Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
b2c6e422
Unverified
Commit
b2c6e422
authored
1 year ago
by
NIKHIL VARMA M
Committed by
GitHub
1 year ago
Browse files
Options
Download
Patches
Plain Diff
Update additional-scrape-configs.yaml
parent
81302668
master
release-5.1.0-api
release-5.1.0-uatLatest
2 merge requests
!17
Release 5.1.0 api
,
!9
API for assessor schedule upload
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kubernetes/ansible/roles/sunbird-monitoring/templates/additional-scrape-configs.yaml
+3
-3
...nbird-monitoring/templates/additional-scrape-configs.yaml
with
3 additions
and
3 deletions
+3
-3
kubernetes/ansible/roles/sunbird-monitoring/templates/additional-scrape-configs.yaml
+
3
−
3
View file @
b2c6e422
...
...
@@ -40,9 +40,9 @@ scrapeconfig:
action
:
replace
target_label
:
kubernetes_pod_name
-
job_name
:
'
vm-node-exporter'
static_configs
:
-
targets
:
[
"
{{
groups['node-exporter']
|
difference(["
localhost"
]
) | map('regex_replace', '^(.*)$', '\\1:9100') | list | join("\", \"") }}"]
#
- job_name: 'vm-node-exporter'
#
static_configs:
#
- targets: ["{{ groups['node-exporter'] | difference(["localhost"]) | map('regex_replace', '^(.*)$', '\\1:9100') | list | join("\", \"") }}"]
-
job_name
:
'
process-exporter'
metrics_path
:
/metrics
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets