Uses of Class
io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
Packages that use PushGateway.Builder
-
Uses of PushGateway.Builder in io.prometheus.metrics.exporter.pushgateway
Methods in io.prometheus.metrics.exporter.pushgateway that return PushGateway.BuilderModifier and TypeMethodDescriptionAddress of the Pushgateway in formathost:port.Username and password for HTTP basic auth when pushing to the Pushgateway.PushGateway.Builder.bearerToken(String token) Bearer token authorization when pushing to the Pushgateway.static PushGateway.BuilderPushGateway.builder()static PushGateway.BuilderPushGateway.builder(PrometheusProperties config) ThePrometheusPropertieswill be used to override what is set in thePushGateway.Builder.PushGateway.Builder.connectionFactory(HttpConnectionFactory connectionFactory) Custom connection factory.PushGateway.Builder.connectionTimeout(Duration connectionTimeout) Specify the connection timeout for HTTP connections to the PushGateway.PushGateway.Builder.escapingScheme(EscapingScheme escapingScheme) Specify the escaping scheme to be used when pushing metrics.Default isFormat.PROMETHEUS_PROTOBUF.PushGateway.Builder.groupingKey(String name, String value) Grouping keys to be used when pushing/deleting metrics.PushGateway.Builder.instanceIpGroupingKey()Convenience method for adding the current IP address as an "instance" label.Thejoblabel to be used when pushing metrics.PushGateway.Builder.prometheusTimestampsInMs(boolean prometheusTimestampsInMs) Use milliseconds for timestamps in text format?PushGateway.Builder.readTimeout(Duration readTimeout) Specify the read timeout for HTTP connections to the PushGateway.PushGateway.Builder.registry(PrometheusRegistry registry) Push metrics from this registry instead ofPrometheusRegistry.defaultRegistry.Specify if metrics should be pushed using HTTP or HTTPS.