Skip to content

Commit

Permalink
Update javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhmaurya committed Jul 21, 2023
1 parent fc22f60 commit 4ea9921
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
import org.opensearch.telemetry.tracing.listeners.TraceEventsService;

/**
* One of the pre-defined TraceEventListener for recording the thread usage using {@link ThreadResourceRecorder} and
* emitting metrics using {@link MetricEmitter}.
* When a {@link Tracer} is wrapped with {@link TraceEventsService#wrapAndSetTracer(Tracer)}
* and all Runnable associated with a trace are wrapped with {@link TraceEventsService#wrapRunnable(Runnable)},
* this class records the resource consumption of the complete trace using provided {@link ThreadResourceRecorder} and emits corresponding metrics using
Expand Down

0 comments on commit 4ea9921

Please sign in to comment.