Options
All
  • Public
  • Public/Protected
  • All
Menu

Configuration interface for prometheus exporter

Hierarchy

  • ExporterConfig

Index

Properties

appendTimestamp?: boolean

Append timestamp to metrics

default

true

endpoint?: string

Endpoint the metrics should be exposed at with preceding slash

default

'/metrics'

host?: string
default

undefined (all interfaces)

metricProducers?: MetricProducer[]

Note, 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.

experimental
port?: number

Port number for Prometheus exporter server

default

9464

prefix?: string

App prefix for metrics, if needed

default

''

preventServerStart?: boolean

Prevent the Prometheus exporter server from starting

default

false

Generated using TypeDoc