Skip to content

Commit c289fe2

Browse files
committedSep 20, 2017
Update README, add pushgateway variables, remove unnecessary comments
1 parent 750332c commit c289fe2

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed
 

‎README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Role Variables
3333
prometheus_install: true
3434
prometheus_node_exporter_install: true
3535
prometheus_alert_manager_install: true
36+
prometheus_push_gateway_install: false
3637

3738
prometheus_owner: 'prometheus'
3839
prometheus_group: 'prometheus'
@@ -57,6 +58,9 @@ prometheus_node_exporter_version: '0.14.0'
5758
# Alert manager
5859
prometheus_alert_manager_version: '0.8.0'
5960

61+
# Pushgateway
62+
prometheus_push_gateway_version: '0.4.0'
63+
6064
# Prometheus
6165
# https://prometheus.io/docs/operating/configuration/
6266

@@ -96,11 +100,6 @@ prometheus_config_scrape_configs:
96100
consul_sd_configs:
97101
- server: "localhost:8500"
98102

99-
# - job_name: service-marathon
100-
# marathon_sd_configs:
101-
# - servers:
102-
# - 'http://localhost.com:8080'
103-
104103
# == ALERT MANAGER ==
105104
prometheus_alertmanager__notification_queue_capacity: 10000
106105
# The capacity of the queue for pending alert manager notifications.
@@ -264,7 +263,7 @@ prometheus_collector__ntp__server:
264263
# NTP server to use for ntp.
265264
prometheus_collector__procfs:
266265
# procfs mountpoint. (default "/proc")
267-
prometheus_collector__runit__servicedir:
266+
prometheus_collector__runit__servicedir: '/etc/service'
268267
# Path to runit service directory. (default "/etc/service")
269268
prometheus_collector__supervisord__url:
270269
# XML RPC endpoint (default "http://localhost:9001/RPC2")

‎defaults/main.yml

-5
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@ prometheus_config_scrape_configs:
7171
consul_sd_configs:
7272
- server: "localhost:8500"
7373

74-
# - job_name: service-marathon
75-
# marathon_sd_configs:
76-
# - servers:
77-
# - 'http://localhost.com:8080'
78-
7974
# == ALERT MANAGER ==
8075
prometheus_alertmanager__notification_queue_capacity: 10000
8176
# The capacity of the queue for pending alert manager notifications.

0 commit comments

Comments
 (0)
Please sign in to comment.