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: @opentelemetry/api.Attributes,
        context?: @opentelemetry/api.Context,
    ) => @opentelemetry/api.Attributes;
}

Properties

Properties

process: (
    incoming: @opentelemetry/api.Attributes,
    context?: @opentelemetry/api.Context,
) => @opentelemetry/api.Attributes

Process the metric instrument attributes.

Type declaration

MMNEPVFCICPMFPCPTTAAATR