Package io.helidon.tracing.config
Class SpanLogTracingConfig
- java.lang.Object
-
- io.helidon.tracing.config.Traceable
-
- io.helidon.tracing.config.SpanLogTracingConfig
-
public abstract class SpanLogTracingConfig extends Traceable
Configuration of a single log event in a traced span.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpanLogTracingConfig.Builder
A fluent API builder forSpanLogTracingConfig
.
-
Field Summary
Fields Modifier and Type Field Description static SpanLogTracingConfig
DISABLED
Disabled traced span log.static SpanLogTracingConfig
ENABLED
Enabled traced span log.
-
Constructor Summary
Constructors Modifier Constructor Description protected
SpanLogTracingConfig(String name)
A new span log.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpanLogTracingConfig.Builder
builder(String name)
Fluent API builder to create a new traced span log configuration.static SpanLogTracingConfig
create(String name, Config config)
Create a new traced span log configuration fromConfig
.
-
-
-
Field Detail
-
DISABLED
public static final SpanLogTracingConfig DISABLED
Disabled traced span log.
-
ENABLED
public static final SpanLogTracingConfig ENABLED
Enabled traced span log.
-
-
Constructor Detail
-
SpanLogTracingConfig
protected SpanLogTracingConfig(String name)
A new span log.- Parameters:
name
- name of the span log
-
-
Method Detail
-
builder
public static SpanLogTracingConfig.Builder builder(String name)
Fluent API builder to create a new traced span log configuration.- Parameters:
name
- name of the span log- Returns:
- a new builder instance
-
create
public static SpanLogTracingConfig create(String name, Config config)
Create a new traced span log configuration fromConfig
.- Parameters:
name
- name of the span logconfig
- config for a traced span log- Returns:
- a new traced span log configuration
-
-