@stephen-shopopop/node-metrics
    Preparing search index...

    Interface Plugin<T>

    Represents a plugin that can capture metrics or data using a provided store builder.

    interface Plugin<T extends object = MetricsValues> {
        capture: PluginCapture<StoreBuilder<T>>;
        name: string;
    }

    Type Parameters

    • T extends object = MetricsValues

      The type of the metrics values object. Defaults to MetricsValues.

    Implemented by

    Index

    Properties

    Properties

    A function or object responsible for capturing data, parameterized by a StoreBuilder of type T.

    name: string