Class ViewRegistry
Defined in File view_registry.h
Class Documentation
-
class ViewRegistry
Public Functions
-
inline void AddView(std::unique_ptr<opentelemetry::sdk::metrics::InstrumentSelector> instrument_selector, std::unique_ptr<opentelemetry::sdk::metrics::MeterSelector> meter_selector, std::unique_ptr<opentelemetry::sdk::metrics::View> view)
-
inline bool FindViews(const opentelemetry::sdk::metrics::InstrumentDescriptor &instrument_descriptor, const opentelemetry::sdk::instrumentationscope::InstrumentationScope &instrumentation_scope, nostd::function_ref<bool(const View&)> callback) const
-
ViewRegistry() = default
-
~ViewRegistry() = default
-
inline void AddView(std::unique_ptr<opentelemetry::sdk::metrics::InstrumentSelector> instrument_selector, std::unique_ptr<opentelemetry::sdk::metrics::MeterSelector> meter_selector, std::unique_ptr<opentelemetry::sdk::metrics::View> view)