Module io.prometheus.metrics.config
Package io.prometheus.metrics.config
Class ExporterPushgatewayProperties
java.lang.Object
io.prometheus.metrics.config.ExporterPushgatewayProperties
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Address of the Pushgateway in the formhost:port.Connection timeout for connections to the Pushgateway.Escaping scheme to be used when pushing metric data to the pushgateway.getJob()joblabel for metrics being pushed.Read timeout for connections to the Pushgateway.Scheme to be used when pushing metrics to the pushgateway.
-
Method Details
-
getAddress
Address of the Pushgateway in the formhost:port. Default islocalhost:9091 -
getJob
joblabel for metrics being pushed. Default is the name of the JAR file that is running. -
getScheme
Scheme to be used when pushing metrics to the pushgateway. Must be "http" or "https". Default is "http". -
getEscapingScheme
Escaping scheme to be used when pushing metric data to the pushgateway. -
getConnectTimeout
Connection timeout for connections to the Pushgateway. -
getReadTimeout
Read timeout for connections to the Pushgateway. -
builder
-