What is the OpenTelemetry equivalent for opentracing MockTracer #7166
Unanswered
srinusanduri
asked this question in
Q&A
Replies: 1 comment 3 replies
-
hi @srinusanduri, check out https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk/testing |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
OpenTracing has a
io.opentracing.mock.MockTracer
implementation which allows us to test the spans our code generates. After the code is executed, we can retrieve the finished spans from mock tracer and perform assertions on the spans generated.Is there an equivalent mock library in OpenTelemetry which can be used for testing purposes. If not, how can we achieve this testing functionality in OpenTelemetry Java.
Beta Was this translation helpful? Give feedback.
All reactions