Add method finishedTraces to MockTracer
See original GitHub issueMockTracer has finishedSpans
method, however in tests it’s necessary to assert if the spans are in the same trace, therefore, a method like List<List<MockSpan>> finishedTraces
would be useful.
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
opentracing-java/MockTracer.java at master - GitHub
MockTracer makes it easy to test the semantics of OpenTracing instrumentation. ... public synchronized Map<String, Map<String, MockSpan>> finishedTraces() {.
Read more >io.opentracing.mock.MockTracer.finishedSpans java code ...
<init>. Create a new MockTracer that passes through any calls to inject() and/or extract(). · buildSpan · reset. Clear the finishedSpans() queue. ·...
Read more >MockTracer (OpenTracing-mock 0.33.0 API) - javadoc.io
Create a new MockTracer that passes through any calls to inject() and/or extract(). Method Detail. reset. public void reset(). Clear the finishedSpans() queue....
Read more >ddtrace environment variables
sudo gedit /etc/environment. To add an environment variable, type its name, an equal sign ( = ), and the value you want the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi @SaumiaSinghal that is great you can ping me on https://gitter.im/opentracing/public
Thanks @jpkrohling, it works!