- java.lang.Object
-
- io.helidon.webserver.WebTracingConfig
-
public abstract class WebTracingConfig extends Object
Tracing configuration for webserver. Tracing configuration has two components - an overall (application wide)TracingConfig
and a path specificPathTracingConfig
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebTracingConfig.Builder
A fluent API builder forWebTracingConfig
.
-
Constructor Summary
Constructors Constructor Description WebTracingConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WebTracingConfig.Builder
builder()
A fluent API builder to create tracing support.static WebTracingConfig
create()
Create a tracing configuration that is enabled for all paths and spans (that are enabled by default).static WebTracingConfig
create(Config config)
Create a new tracing support base onConfig
.static WebTracingConfig
create(TracingConfig configuration)
Create a new tracing support base onTracingConfig
.
-
-
-
Method Detail
-
create
public static WebTracingConfig create()
Create a tracing configuration that is enabled for all paths and spans (that are enabled by default).- Returns:
- tracing configuration to register with
Routing.Builder.register(WebTracingConfig)
-
create
public static WebTracingConfig create(TracingConfig configuration)
Create a new tracing support base onTracingConfig
.- Parameters:
configuration
- traced system configuration- Returns:
- a new tracing support to register with web server routing
-
create
public static WebTracingConfig create(Config config)
Create a new tracing support base onConfig
.- Parameters:
config
- to base this support on- Returns:
- a new tracing support to register with web server routing
-
builder
public static WebTracingConfig.Builder builder()
A fluent API builder to create tracing support.- Returns:
- a new builder instance
-
-