OptionalappendAppend timestamp to metrics
OptionalendpointEndpoint the metrics should be exposed at with preceding slash
OptionalhostOptional ExperimentalmetricNote, this option is experimental. Additional MetricProducers to use as a source of aggregated metric data in addition to the SDK's metric data. The resource returned by these MetricProducers is ignored; the SDK's resource will be used instead.
OptionalportPort number for Prometheus exporter server
Default registered port is 9464: https://github.com/prometheus/prometheus/wiki/Default-port-allocations
OptionalprefixApp prefix for metrics, if needed
OptionalpreventPrevent the Prometheus exporter server from starting
OptionalwithoutIf true, the target_info metric is not included in scraped metrics.
OptionalwithRegex pattern for defining which resource attributes will be applied as constant labels to the metrics. e.g. 'telemetry_.+' for all attributes starting with 'telemetry'.
Configuration interface for prometheus exporter