public interface TraceListener
tracer upon creation. It will then observe any lifecycle event
of that tracer.
Traditional trace listeners are not aware of trace stacking. A stacked trace will be
observed as defined by the following call sequence:
onStart("Trace-ID", "A")onStop("Trace-ID", "A")onStart("Trace-ID", "B")onStop("Trace-ID", "B")onStart("Trace-ID", "A")onStop("Trace-ID", "A")| Modifier and Type | Method and Description |
|---|---|
void |
onStart(String name,
String value)
Callback to be triggered after
start. |
void |
onStop(String name,
String value)
Callback to be triggered before
stop. |
Copyright © 2015–2016 Zalando SE. All rights reserved.