Parapet provides telemetry foundations and safety rails for Phoenix SaaS teams.
This top-level API provides boundary constraints ensuring that metric collection bugs never crash the host process and high cardinality labels are explicitly rejected.
Stable
This module is stable as of v1.0.0. Its public API will not change without a major-version bump and a full deprecation cycle. See Stability & Deprecation Policy for details.
Summary
Functions
Attaches an exception-safe telemetry handler or activates ecosystem integration adapters.
Functions
Attaches an exception-safe telemetry handler or activates ecosystem integration adapters.
When a list with :adapters is provided, it iterates the adapter atoms, resolves the
corresponding Parapet.Integrations.* module, and invokes setup/0 on each loaded adapter
module. All built-in integration adapters implement the Parapet.Integration behaviour, so
setup/0 is uniform across every adapter.
When a map is provided, it delegates to Parapet.Internal.SafeHandler to ensure errors in the callback do not propagate back to the execution of the instrumented application code.