Exports metrics and traces to OTLP-compatible collector
Provides an interface for recording metrics and traces.
npm install @ceramicnetwork/observability
Import the class, start the metrics service and record metrics.
NOTE that an OTLP collector host must be provided or the functions will not be operative.
import { Metrics } from '@ceramicnetwork/observability'
Configuration settings should be passed to the start
function which instantiates the metrics singleton instance.