Skip to content

Commit 766ff75

Browse files
Merge pull request #102 from ernestas-poskus/features/bump_push_gateway_to_1_0_0
Bump push gateway to 1.0.0
2 parents 775781d + 564952e commit 766ff75

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ prometheus_node_exporter_version: '0.18.1'
7272
prometheus_alert_manager_version: '0.18.0'
7373

7474
# Pushgateway
75-
prometheus_push_gateway_version: '0.9.1'
75+
prometheus_push_gateway_version: '1.0.0'
7676

7777
# SNMP exporter
7878
prometheus_snmp_exporter_version: '0.15.0'

defaults/main.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ prometheus_node_exporter_version: '0.18.1'
3434
prometheus_alert_manager_version: '0.18.0'
3535

3636
# Pushgateway
37-
prometheus_push_gateway_version: '0.9.1'
37+
prometheus_push_gateway_version: '1.0.0'
3838

3939
# SNMP exporter
4040
prometheus_snmp_exporter_version: '0.15.0'
@@ -457,6 +457,9 @@ prometheus_push_gateway_web__telemetry_path: '/metrics'
457457
# Path under which to expose metrics. (default "/metrics")
458458
prometheus_push_gateway_web__external_url:
459459
# The URL under which Pushgateway is externally reachable.
460+
prometheus_push_gateway____enabled_flags: []
461+
# - 'web.enable-admin-api' # disabled by default
462+
# - 'web.enable-lifecycle' # disabled by default
460463

461464
# Snmp exporter
462465
# https://github.com/prometheus/snmp_exporter

docs/push_gateway.md

+3
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ prometheus_push_gateway_web__telemetry_path: '/metrics'
2020
# Path under which to expose metrics. (default "/metrics")
2121
prometheus_push_gateway_web__external_url:
2222
# The URL under which Pushgateway is externally reachable.
23+
prometheus_push_gateway____enabled_flags: []
24+
# - 'web.enable-admin-api' # disabled by default
25+
# - 'web.enable-lifecycle' # disabled by default
2326
```

templates/push_gateway.service.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ After=network.target
66
Wants=network.target
77

88
[Service]
9-
ExecStart={{ prometheus_install_dir }}/{{ prometheus_push_gateway_archive }}/pushgateway {% for config in prometheus_push_gateway_service_config if config[1] is not none %}--{{ config[0] }}={{ config[1] }} {% endfor %}
9+
ExecStart={{ prometheus_install_dir }}/{{ prometheus_push_gateway_archive }}/pushgateway {% for config in prometheus_push_gateway_service_config if config[1] is not none %}--{{ config[0] }}={{ config[1] }} {% endfor %} {% for enabled_bool in prometheus_push_gateway____enabled_flags %}--{{ enabled_bool }} {% endfor %}
1010

1111
Restart=always
1212
RestartSec=20

0 commit comments

Comments
 (0)