PrometheusExporterOptions
Defined in: packages/exporter-prometheus/src/index.ts:22
Options for prometheusExporter. Values that can’t be used are replaced by the default, with a warning.
Properties
Section titled “Properties”buckets?
Section titled “buckets?”
optionalbuckets?: readonlynumber[]
Defined in: packages/exporter-prometheus/src/index.ts:31
Bucket boundaries, in seconds and increasing, for the response-time and handler histograms.
prefix?
Section titled “prefix?”
optionalprefix?:string
Defined in: packages/exporter-prometheus/src/index.ts:29
Prefix for every metric name. Default shardlens_.
registry?
Section titled “registry?”
optionalregistry?:Registry<"text/plain; version=0.0.4; charset=utf-8">
Defined in: packages/exporter-prometheus/src/index.ts:27
Registry to register the metrics on. Default: a new registry, so nothing clashes with your own metrics. One that already holds a metric of the same name is not used.