@agora-protocol/observability
v0.3.3
Published
ACP observability: events, metrics, tracing, hooks, audit exporter
Maintainers
Readme
@agora-protocol/observability
Events, metrics, tracing, hooks, and audit exporters for the ACP Protocol.
Install
npm install @agora-protocol/observabilityWhat's inside
ACPObserver— attaches to anACPRoomand forwards events to configured sinks.ConsoleSink— structured-log sink for development.Tracer— span/trace wrapper (pluggable backend).HookManager— on_anomaly / on_agreement_proposed / on_compaction_proposed / … callback registration.AuditExporter— dumps the canonical audit trail for long-term storage.EventEmitter/MetricsCollector— primitives you can adapt to Prometheus / OpenTelemetry / etc.
License
MIT
