Class AttributesProcessor
Defined in File attributes_processor.h
Inheritance Relationships
Derived Types
public opentelemetry::sdk::metrics::DefaultAttributesProcessor
(Class DefaultAttributesProcessor)public opentelemetry::sdk::metrics::FilteringAttributesProcessor
(Class FilteringAttributesProcessor)
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
Public Functions
-
virtual MetricAttributes process(const opentelemetry::common::KeyValueIterable &attributes) const noexcept = 0
-
virtual bool isPresent(nostd::string_view key) const noexcept = 0
-
virtual ~AttributesProcessor() = default
-
virtual MetricAttributes process(const opentelemetry::common::KeyValueIterable &attributes) const noexcept = 0