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

    Class Observability

    Implements

    • LDPlugin
    Index

    Constructors

    Methods

    • Gets a list of hooks that the plugin wants to register.

      This method will be called once during SDK initialization before the register method is called.

      If the plugin does not need to register any hooks, this method doesn't need to be implemented.

      Parameters

      • _metadata: LDPluginEnvironmentMetadata

      Returns Hook[]

    • Get metadata about the plugin.

      Returns LDPluginMetadata

    • Registers the plugin with the SDK. Called once during SDK initialization.

      The SDK initialization will typically not have been completed at this point, so the plugin should take appropriate actions to ensure the SDK is ready before sending track events or evaluating flags.

      Parameters

      • _client: LDClientMin
      • environmentMetadata: LDPluginEnvironmentMetadata

        Information about the environment where the plugin is running.

      Returns void