java.lang.Object
io.prometheus.metrics.config.ExporterProperties
Properties starting with io.prometheus.exporter
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ExporterProperties.Builderbuilder()booleanAllow Exemplars on all metric types in OpenMetrics format?booleanInclude the_createdtimestamps in text format?booleanUse milliseconds for timestamps in prometheus text format?
-
Method Details
-
getIncludeCreatedTimestamps
public boolean getIncludeCreatedTimestamps()Include the_createdtimestamps in text format? Default isfalse. -
getPrometheusTimestampsInMs
public boolean getPrometheusTimestampsInMs()Use milliseconds for timestamps in prometheus text format? Default isfalse. -
getExemplarsOnAllMetricTypes
public boolean getExemplarsOnAllMetricTypes()Allow Exemplars on all metric types in OpenMetrics format? Default isfalse, which means Exemplars will only be added for Counters and Histogram buckets. -
builder
-