This is the API reference for the LaunchDarkly Observability Plugin for Node.js.
In typical usage you will only need to instantiate the Observability plugin and pass it to the LaunchDarkly client during initialization.
The settings for the observability plugins are defined by the NodeOptions interface.
The LDObserve singleton is used for manual tracking of events, metrics, and logs. The singleton implements the Observe interface.
import { init } from '@launchdarkly/node-server-sdk'import Observability, { LDObserve } from '@launchdarkly/observability'const client = init( 'sdk-key', { plugins: [ new Observability(), ], },) Copy
import { init } from '@launchdarkly/node-server-sdk'import Observability, { LDObserve } from '@launchdarkly/observability'const client = init( 'sdk-key', { plugins: [ new Observability(), ], },)
This is the API reference for the LaunchDarkly Observability Plugin for Node.js.
In typical usage you will only need to instantiate the Observability plugin and pass it to the LaunchDarkly client during initialization.
The settings for the observability plugins are defined by the NodeOptions interface.
The LDObserve singleton is used for manual tracking of events, metrics, and logs. The singleton implements the Observe interface.
Quick Start