OtlpGrpcMetricExporter::GetAggregationTemporality throws when the exporter is constructed with a shared grpc client #3242
Labels
bug
Something isn't working
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Describe your environment
main branch at 57114c5
Steps to reproduce
OtlpGrpcMetricExporter
with a shared grpc clientGetAggregationTemporality
What is the expected behavior?
Returns the aggregation temporality for the exporter
What is the actual behavior?
A
std::bad_function_call
exception is thrownAdditional context
The
aggregation_temporality_selector_
function object is not set by the constructor that accepts a shared grpc client (line 50).Example stack trace:

The text was updated successfully, but these errors were encountered: