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;
}

Properties

Properties

process: (incoming: Attributes, context?: Context) => Attributes

Process the metric instrument attributes.

Type declaration