Push gateway [pushgateway]

By default, scraped values are exposed via a simple page and are then scraped by Prometheus. It is possible, however, to send monitoring data directly to the Prometheus PushGateway, with Prometheus retrieving data from the PushGateway instead of the MetricsGateway. To enable this, configure the relevant section.

Note that if this section is present and enabled, settings in the Server section are ignored (though the [server] section is still checked for consistency).

The functionality has to be explicitly enabled:

enabled=true

Prometheus push gateway receiver address should be specified:

address=”localhost:9091”
jobname=”testJob”

To push via https with basic authentication configure the following parameters:

protocol=”https”
user=”824TtRbtGUuurl/54pu5QA==”
password=”NpMfsYMGDb7fJ9qDe3QFaQ==”