Skip to content

healthcheck-otel — Optimization

Keep user IDs, request IDs and raw error text out of collector labels. These labels become metric attributes.

Read exported values from report.metrics. Check-local metrics stay in the JSON report.

The package maps an existing report to resource attributes and metric records. It runs in Node.js, Bun, Edge, and browsers.

Collector labels become metric attributes. Review their values before exposing records to a monitoring backend.

Package guidance · Implementation. · Matching skill.