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
d27ecfdf
Commit
d27ecfdf
authored
7 years ago
by
Deepak N
Browse files
Options
Download
Patches
Plain Diff
Issue ekstep/sunbird-devops#332 feat: Fix AnsibleError: Unexpected templating type error occurred
parent
15f8e331
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/stack-monitor/templates/prometheus.yml
+3
-3
ansible/roles/stack-monitor/templates/prometheus.yml
with
3 additions
and
3 deletions
+3
-3
ansible/roles/stack-monitor/templates/prometheus.yml
+
3
−
3
View file @
d27ecfdf
...
...
@@ -110,7 +110,7 @@ scrape_configs:
-
job_name
:
'
availability_{{
item.service_name
}}'
metrics_path
:
/probe
params
:
module
:
{{
item.probe_modules
| to_json
}}
module
:
{{
item.probe_modules
}}
static_configs
:
-
targets
:
{{
item.targets | to_yaml
}}
labels
:
...
...
@@ -121,7 +121,7 @@ scrape_configs:
-
source_labels
:
[
__param_target
]
target_label
:
instance
-
target_label
:
__address__
replacement
:
monitor_blackbox-exporter:9115
# Blackbox exporter.
replacement
:
monitor_blackbox-exporter:9115
{
%
endfor %
}
{
%
if static_site_url is defined %
}
...
...
@@ -141,5 +141,5 @@ scrape_configs:
-
source_labels
:
[
__param_target
]
target_label
:
instance
-
target_label
:
__address__
replacement
:
monitor_blackbox-exporter:9115
# Blackbox exporter.
replacement
:
monitor_blackbox-exporter:9115
{
%
endif %
}
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