question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create a new Tracing decorator

See original GitHub issue

API sketch:

Tracing trace = Tracing.of("traceName")
   .withTag("tagKey, "tagValue")
   .withTag("tagKey, "tagValue")
   .build();

Supplier<String> supplier = Tracing.decorateSupplier(trace, backendService::doSomething);


Flowable<TraceEvent> evenStream = trace.getEventStream();

A TraceEvent contains the trace ID, create time, the processing duration of the trace and a custom list of tags.

A client can consume the trace event stream and store events in InfluxDB, ElasticSearch.

We should have a look at the OpenTracing API (https://github.com/opentracing/opentracing-java)

@storozhukBM What do you thing about it?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
RobWincommented, Mar 10, 2020

You can’t. I closed the issue because noboday wants to implement it

0reactions
RobWincommented, Feb 22, 2022

@camproto If you are using the Bulkhead or TimeLimiter, you can already configure how to propagate threadLocals from thread to thread by implement the ContextPropagator interface. There are too many frameworks which are using different thread locals. We cannot support all of them. But the community could provide implementations of the ContextPropagator interface. We are using the same concept to propagate the SLf4j MDC.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to edit artwork in Illustrator using Image Trace
Open the Image Trace panel by choosing Window > Image Trace. · Set tracing options for the preset using the Image Trace panel....
Read more >
Using the Decorator Pattern to Auto-Instrument .Net Classes ...
Creating a Basic Tracing Decorator With DispatchProxy ... to the decorated object, and the ActivitySource object we'll use to create new Activity instances....
Read more >
Trace a Logo or Design in Illustrator using the pen tool
0:00 · New ! Watch ads now so you can enjoy fewer interruptions. Got it.
Read more >
Using Decorators to Instrument Python Code With ... - Digma
We set up OTEL so that the trace operation will have an effect, then validate that inside the test method, which has the...
Read more >
Tracing images in Illustrator CC - American Graphics Institute
Trace Imges in Illustrator by placing an image as a template. 1 Create a new Illustrator document by choosing File > New. In...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found