Class AttributesProcessor

Inheritance Relationships

Derived Types

Class Documentation

class AttributesProcessor

The AttributesProcessor is responsible for customizing which attribute(s) are to be reported as metrics dimension(s).

Subclassed by opentelemetry::sdk::metrics::DefaultAttributesProcessor, opentelemetry::sdk::metrics::FilteringAttributesProcessor, opentelemetry::sdk::metrics::FilteringExcludeAttributesProcessor

Public Functions

AttributesProcessor() = default
AttributesProcessor(const AttributesProcessor&) = delete
AttributesProcessor(AttributesProcessor&&) = delete
AttributesProcessor &operator=(const AttributesProcessor&) = delete
AttributesProcessor &operator=(AttributesProcessor&&) = delete
virtual MetricAttributes process(const opentelemetry::common::KeyValueIterable &attributes) const noexcept = 0
virtual bool isPresent(nostd::string_view key) const noexcept = 0
virtual ~AttributesProcessor() = default