We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f8dedf commit d3162e7Copy full SHA for d3162e7
sdk/include/opentelemetry/sdk/metrics/view/attributes_processor.h
@@ -94,7 +94,14 @@ class FilteringAttributesProcessor : public AttributesProcessor
94
95
bool isPresent(nostd::string_view key) const noexcept override
96
{
97
- return (allowed_attribute_keys_.find(key.data()) != allowed_attribute_keys_.end());
+ OTEL_INTERNAL_LOG_WARN("INSIDE IS PRESENT");
98
+ auto d = key.data();
99
100
+ auto haskey = allowed_attribute_keys_.find(d);
101
+ OTEL_INTERNAL_LOG_WARN("Called find for key");
102
+ auto end = allowed_attribute_keys_.end();
103
+ OTEL_INTERNAL_LOG_WARN("Have end");
104
+ return (haskey != end);
105
}
106
107
private:
0 commit comments