-
Address of the Pushgateway in format host:port.
Username and password for HTTP basic auth when pushing to the Pushgateway.
Bearer token authorization when pushing to the Pushgateway.
PushGateway.builder(io.prometheus.metrics.config.PrometheusProperties config)
Custom connection factory.
Specify the connection timeout for HTTP connections to the PushGateway.
PushGateway.Builder.escapingScheme(io.prometheus.metrics.config.EscapingScheme escapingScheme)
Specify the escaping scheme to be used when pushing metrics.
Grouping keys to be used when pushing/deleting metrics.
Convenience method for adding the current IP address as an "instance" label.
The job label to be used when pushing metrics.
Use milliseconds for timestamps in text format?
Specify the read timeout for HTTP connections to the PushGateway.
PushGateway.Builder.registry(io.prometheus.metrics.model.registry.PrometheusRegistry registry)
Push metrics from this registry instead of PrometheusRegistry.defaultRegistry.
Specify if metrics should be pushed using HTTP or HTTPS.