diff --git a/test/cpp/ext/csm/metadata_exchange_test.cc b/test/cpp/ext/csm/metadata_exchange_test.cc index cdef39dd921..84d96b26872 100644 --- a/test/cpp/ext/csm/metadata_exchange_test.cc +++ b/test/cpp/ext/csm/metadata_exchange_test.cc @@ -339,7 +339,7 @@ TEST_P(MetadataExchangeTest, ClientDoesNotSendMetadata) { } TEST_P(MetadataExchangeTest, VerifyCsmServiceLabels) { - Init(/*metric_names=*/{grpc::experimental::OpenTelemetryPluginBuilder:: + Init(/*metric_names=*/{grpc::OpenTelemetryPluginBuilder:: kClientAttemptDurationInstrumentName}, /*enable_client_side_injector=*/true, // Injects CSM service labels to be recorded in the call.