toOpenMetricsText
SourcetoOpenMetricsText(report: HealthReport, options?: OpenMetricsExportOptions) => stringExported from: @nexload-sdk/healthcheck-prometheus
Public function exported by @nexload-sdk/healthcheck-prometheus.
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.
toPrometheusText(report, options?) returns newline-terminated text.toOpenMetricsText(report, options?) appends the OpenMetrics EOF marker.PrometheusExportOptions supports prefix, defaultLabels, and includeDescriptions.OpenMetricsExportOptions aliases the same options.Source: src/index.ts.