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
abde9dcd
Unverified
Commit
abde9dcd
authored
4 years ago
by
Keshav Prasad
Committed by
GitHub
4 years ago
Browse files
Options
Download
Patches
Plain Diff
fix: updating retention to 30d (#1399)
parent
bd0bf734
sunbird-monitoring-release-3.5.0_RC1
sunbird-monitoring-release-3.3.0_RC1
sunbird-monitoring-release-2.6.0_RC5
sunbird-monitoring-release-2.6.0_RC4
sunbird-monitoring-release-2.6.0_RC3
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/process-exporter-prometheus/defaults/main.yml
+1
-1
ansible/roles/process-exporter-prometheus/defaults/main.yml
ansible/roles/process-exporter-prometheus/templates/process_exporter_prometheus_stack.yml
+1
-1
...rometheus/templates/process_exporter_prometheus_stack.yml
with
2 additions
and
2 deletions
+2
-2
ansible/roles/process-exporter-prometheus/defaults/main.yml
+
1
−
1
View file @
abde9dcd
process_exporter_prometheus_reservation_memory
:
1G
process_exporter_prometheus_limit_memory
:
1G
process_exporter_prometheus_storage_retention_time
:
9
0d
process_exporter_prometheus_storage_retention_time
:
3
0d
process_exporter_prometheus_stack_files
:
/opt/docker/stacks/process_exporter_prometheus/stack
process_exporter_prometheus_config_files
:
/opt/docker/stacks/process_exporter_prometheus/config
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/process-exporter-prometheus/templates/process_exporter_prometheus_stack.yml
+
1
−
1
View file @
abde9dcd
...
...
@@ -9,7 +9,7 @@ services:
-
application_default
volumes
:
-
"
{{
process_exporter_prometheus_mount_point
}}:/prometheus"
command
:
"
--config.file=/etc/prometheus/prometheus.yml
--storage.tsdb.path=/prometheus
--web.console.libraries=/etc/prometheus/console_libraries
--storage.tsdb.retention.time={{prometheus_storage_retention_time}}
--web.console.templates=/etc/prometheus/consoles
--web.route-prefix={{process_exporter_prometheus_route_prefix}}
--web.external-url={{process_exporter_prometheus_web_external_url}}
--web.enable-admin-api"
command
:
"
--config.file=/etc/prometheus/prometheus.yml
--storage.tsdb.path=/prometheus
--web.console.libraries=/etc/prometheus/console_libraries
--storage.tsdb.retention.time={{
process_exporter_
prometheus_storage_retention_time}}
--web.console.templates=/etc/prometheus/consoles
--web.route-prefix={{process_exporter_prometheus_route_prefix}}
--web.external-url={{process_exporter_prometheus_web_external_url}}
--web.enable-admin-api"
configs
:
-
source
:
process_exporter_prometheus.yml
target
:
/etc/prometheus/prometheus.yml
...
...
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