Class ExporterProperties
Object
ExporterProperties
Configuration for common exporter behavior.
Properties use the io.prometheus.exporter prefix. Supported options are
include_created_timestamps, prometheus_timestamps_in_ms, and
exemplars_on_all_metric_types. Use PrometheusPropertiesLoader to load these options from
configuration sources, or builder() to create an instance directly.
-
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
Include the_createdtimestamps in text format? Default isfalse. -
getPrometheusTimestampsInMs
Use milliseconds for timestamps in prometheus text format? Default isfalse. -
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
-