Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump push gateway to 1.0.0 #102

Merged
merged 1 commit into from
Oct 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ prometheus_node_exporter_version: '0.18.1'
prometheus_alert_manager_version: '0.18.0'

# Pushgateway
prometheus_push_gateway_version: '0.9.1'
prometheus_push_gateway_version: '1.0.0'

# SNMP exporter
prometheus_snmp_exporter_version: '0.15.0'
Expand Down
5 changes: 4 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ prometheus_node_exporter_version: '0.18.1'
prometheus_alert_manager_version: '0.18.0'

# Pushgateway
prometheus_push_gateway_version: '0.9.1'
prometheus_push_gateway_version: '1.0.0'

# SNMP exporter
prometheus_snmp_exporter_version: '0.15.0'
Expand Down Expand Up @@ -457,6 +457,9 @@ prometheus_push_gateway_web__telemetry_path: '/metrics'
# Path under which to expose metrics. (default "/metrics")
prometheus_push_gateway_web__external_url:
# The URL under which Pushgateway is externally reachable.
prometheus_push_gateway____enabled_flags: []
# - 'web.enable-admin-api' # disabled by default
# - 'web.enable-lifecycle' # disabled by default

# Snmp exporter
# https://github.com/prometheus/snmp_exporter
Expand Down
3 changes: 3 additions & 0 deletions docs/push_gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ prometheus_push_gateway_web__telemetry_path: '/metrics'
# Path under which to expose metrics. (default "/metrics")
prometheus_push_gateway_web__external_url:
# The URL under which Pushgateway is externally reachable.
prometheus_push_gateway____enabled_flags: []
# - 'web.enable-admin-api' # disabled by default
# - 'web.enable-lifecycle' # disabled by default
```
2 changes: 1 addition & 1 deletion templates/push_gateway.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ After=network.target
Wants=network.target

[Service]
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 %}
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 %}

Restart=always
RestartSec=20
Expand Down