View defines the interface to allow SDK user to customize the metrics before exported.
Definition at line 24 of file includes/opentelemetry/sdk/metrics/view/view.h.
◆ View() [1/2]
| sdk::metrics::View::View |
( |
const std::string & |
name, |
|
|
const std::string & |
description = "", |
|
|
AggregationType |
aggregation_type = AggregationType::kDefault, |
|
|
std::shared_ptr< AggregationConfig > |
aggregation_config = nullptr, |
|
|
std::unique_ptr< opentelemetry::sdk::metrics::AttributesProcessor > |
attributes_processor = std::unique_ptr<opentelemetry::sdk::metrics::AttributesProcessor>( new opentelemetry::sdk::metrics::DefaultAttributesProcessor()) |
|
) |
| |
|
inline |
◆ ~View() [1/2]
| virtual sdk::metrics::View::~View |
( |
| ) |
|
|
virtualdefault |
◆ View() [2/2]
| sdk::metrics::View::View |
( |
const std::string & |
name, |
|
|
const std::string & |
description = "", |
|
|
AggregationType |
aggregation_type = AggregationType::kDefault, |
|
|
std::shared_ptr< AggregationConfig > |
aggregation_config = nullptr, |
|
|
std::unique_ptr< opentelemetry::sdk::metrics::AttributesProcessor > |
attributes_processor = std::unique_ptr<opentelemetry::sdk::metrics::AttributesProcessor>( new opentelemetry::sdk::metrics::DefaultAttributesProcessor()) |
|
) |
| |
|
inline |
◆ ~View() [2/2]
| virtual sdk::metrics::View::~View |
( |
| ) |
|
|
virtualdefault |
◆ GetAggregationConfig() [1/2]
◆ GetAggregationConfig() [2/2]
◆ GetAggregationType() [1/2]
◆ GetAggregationType() [2/2]
◆ GetAttributesProcessor() [1/2]
| virtual std::shared_ptr<const opentelemetry::sdk::metrics::AttributesProcessor> sdk::metrics::View::GetAttributesProcessor |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ GetAttributesProcessor() [2/2]
| virtual std::shared_ptr<const opentelemetry::sdk::metrics::AttributesProcessor> sdk::metrics::View::GetAttributesProcessor |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ GetDescription() [1/2]
| virtual std::string sdk::metrics::View::GetDescription |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ GetDescription() [2/2]
| virtual std::string sdk::metrics::View::GetDescription |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ GetName() [1/2]
| virtual std::string sdk::metrics::View::GetName |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ GetName() [2/2]
| virtual std::string sdk::metrics::View::GetName |
( |
| ) |
const |
|
inlinevirtualnoexcept |
The documentation for this class was generated from the following file: