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
bb462262
Unverified
Commit
bb462262
authored
5 years ago
by
S M Y
Browse files
Options
Download
Patches
Plain Diff
stack-monitor changes to add redis exporter
parent
1c9e2bae
sunbird-monitoring-release-3.5.0_RC1
sunbird-monitoring-release-3.3.0_RC1
sunbird-monitoring-release-2.6.0
sunbird-monitoring-release-2.6.0_RC6
sunbird-monitoring-release-2.6.0_RC5
sunbird-monitoring-release-2.6.0_RC4
sunbird-monitoring-release-2.6.0_RC3
sunbird-monitoring-release-2.6.0_RC2
sunbird-monitoring-release-2.6.0_RC1
sunbird-monitoring-release-2.5.0_RC3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/stack-monitor-stateful/templates/stack-monitor.yml
+19
-0
.../roles/stack-monitor-stateful/templates/stack-monitor.yml
with
19 additions
and
0 deletions
+19
-0
ansible/roles/stack-monitor-stateful/templates/stack-monitor.yml
+
19
−
0
View file @
bb462262
...
...
@@ -86,6 +86,25 @@ services:
limits
:
memory
:
"
{{
blackbox_exporter_limit_memory
}}"
redis-exporter
:
image
:
oliver006/redis_exporter
ports
:
-
"
19115:9121"
{
%
if 'dp-redis' in group_names %
}
command
:
"
-redis.addr=redis://{{groups['dp-redis'][0]}}:6379"
{
%
else %
}
command
:
"
-redis.addr=redis://{{groups['lp-redis-ps'][0]}}:6379"
{
%
endif %
}
networks
:
-
application_default
deploy
:
resources
:
reservations
:
memory
:
"
{{
blackbox_exporter_reservation_memory
}}"
limits
:
memory
:
"
{{
blackbox_exporter_limit_memory
}}"
cadvisor
:
image
:
google/cadvisor:v0.33.0
ports
:
...
...
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