java.lang.Object
io.helidon.tracing.config.Traceable
- Direct Known Subclasses:
ComponentTracingConfig
,SpanLogTracingConfig
,SpanTracingConfig
,TracingConfig
Tracing configuration that can be enabled or disabled.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Traceable
A new traceable.- Parameters:
name
- name of this traceable unit
-
-
Method Details
-
isEnabled
Whether this trace should be executed or not.- Returns:
true
if span/component should be traced,false
if it should not,empty
when this flag is not explicitly configured
-
name
Name of this traceable unit.- Returns:
- name
-
enabled
public final boolean enabled()Whether this traceable should be executed or not.- Returns:
true
if span/component should be traced,false
if it should not
-