Skip to content

Telemetry Metric Names ​

Prefixing (api.v1 → api_v1) plus sanitization for Prometheus.

zig
var config = logly.TelemetryConfig.development()
    .withPrometheusMetrics(path)
    .withMetricPrefix("api.v1");

Output:

text
Telemetry metric names exported to telemetry_metric_names.prom
Sanitized examples:
  api.v1:http.requests-total -> api_v1:http_requests_total

Released under the MIT License.