@launchdarkly/observability-node - v0.2.1
    Preparing search index...

    @launchdarkly/observability-node - v0.2.1

    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

    import { init } from '@launchdarkly/node-server-sdk'
    import Observability, { LDObserve } from '@launchdarkly/observability'

    const client = init(
    'sdk-key',
    {
    plugins: [
    new Observability(),
    ],
    },
    )

    Namespaces

    Handlers

    Classes

    Observability

    Interfaces

    Metric
    NodeOptions
    Observe
    RequestContext

    Type Aliases

    ConsoleMethods
    ConsoleMethodsTuple
    Headers
    IncomingHttpHeaders

    Variables

    ALL_CONSOLE_METHODS
    LDObserve