OpenTelemetry SDK
    Preparing search index...

    Interface IAttributesProcessor

    The AttributesProcessor is responsible for customizing which attribute(s) are to be reported as metrics dimension(s) and adding additional dimension(s) from the Context.

    interface IAttributesProcessor {
        process: (incoming: Attributes, context?: Context) => Attributes;
    }
    Index
    process: (incoming: Attributes, context?: Context) => Attributes

    Process the metric instrument attributes.

    Type Declaration

      • (incoming: Attributes, context?: Context): Attributes
      • Parameters

        • incoming: Attributes

          The metric instrument attributes.

        • Optionalcontext: Context

          The active context when the instrument is synchronous. undefined otherwise.

        Returns Attributes