toOpenMetricsText
SourcetoOpenMetricsText(report: HealthReport, options?: OpenMetricsExportOptions) => stringExported from: @nexload-sdk/healthcheck-prometheus
Public function exported by @nexload-sdk/healthcheck-prometheus.
The complete public API symbol inventory is generated automatically from package source exports:
toOpenMetricsTexttoOpenMetricsText(report: HealthReport, options?: OpenMetricsExportOptions) => stringExported from: @nexload-sdk/healthcheck-prometheus
Public function exported by @nexload-sdk/healthcheck-prometheus.
toPrometheusTexttoPrometheusText(report: HealthReport, options?: PrometheusExportOptions) => stringExported from: @nexload-sdk/healthcheck-prometheus
Public function exported by @nexload-sdk/healthcheck-prometheus.
PrometheusExportOptionsinterface PrometheusExportOptions {
prefix?: string
defaultLabels?: Record<string, string>
includeDescriptions?: boolean
}Exported from: @nexload-sdk/healthcheck-prometheus
Public interface exported by @nexload-sdk/healthcheck-prometheus.
OpenMetricsExportOptionstype OpenMetricsExportOptions = PrometheusExportOptions;Exported from: @nexload-sdk/healthcheck-prometheus
Public type exported by @nexload-sdk/healthcheck-prometheus.
| Runtime / Engine | Version Requirement | Verification Status |
|---|---|---|
| Node.js | >=20.9.0 | Verified on Node 20 & 22 |
| Bun | >=1.0.0 | Verified on Bun 1.1+ |
| Module Format | ESM only | Native ECMAScript Modules |
| Side Effects | false | Fully tree-shakeable |