[BUG] The unit tests of azure-core-metrics-opentelemetry failed when opentelemetry upgradding to 1.19.0 #31886
Closed
3 tasks done
Labels
Client
This issue points to a problem in the data-plane of the library.
OpenTelemetry
OpenTelemetry instrumentation
Describe the bug
Some unit tests of module
azure-core-metrics-opentelemetry
failed in the ci pipeline.Exception or Stack Trace
The below log is from test class
com.azure.core.metrics.opentelemetry.MetricsTests
io.opentelemetry.sdk.autoconfigure.spi.ConfigurationException: OTLP gRPC Metrics Exporter enabled but opentelemetry-exporter-otlp not found on classpath. Make sure to add it as a dependency to enable this feature.
To Reproduce
Upgrade to opentelemetry to 1.19.0, io.opentelemetry:opentelemetry-sdk-extension-autoconfigure to 1.19.0-alpha.
Or you can run the tests in branch feature/spring-boot-3
Code Snippet
N/A
Expected behavior
Compatible with the opentelemetry to 1.19.0 and 1.19.0-alpha.
Screenshots
N/A
Setup (please complete the following information):
Additional context
N/A
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: