JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 170
  • Score
    100M100P100Q107041F
  • License (Apache-2.0 OR MIT)

Typescript library for instrumenting ceramic networks

Package Exports

    Readme

    Service Metrics

    Exports metrics and traces to OTLP-compatible collector

    Purpose

    Provides an interface for recording metrics and traces.

    Installation

    npm install service-metrics

    Usage

    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'
    
    // TODO here

    Configuration

    TODO env vars