Docket.Postgres.Telemetry (docket v0.1.0)

Copy Markdown View Source

Bounded metric-label projections for PostgreSQL backend telemetry.

The event catalog and measurements are documented in the telemetry guide.

Summary

Functions

Returns the bounded metadata projection safe to use as metric labels.

Functions

metric_metadata(event, metadata)

@spec metric_metadata([atom()], map()) :: map()

Returns the bounded metadata projection safe to use as metric labels.