PrometheusExporter

Prometheus text format exporter for metrics.

Exports metrics in Prometheus exposition format for scraping. Intended for debug builds and local development.

Security: Only available in debug builds. Do not expose in production without authentication.

Since

0.4.0

Constructors

Link copied to clipboard
constructor(registry: MetricRegistry)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun export(): String

Export all metrics in Prometheus text format.

Link copied to clipboard

Export metrics with metadata header.