Modifier and Type | Class and Description |
---|---|
static class |
OpenTracingFeature.Verbosity
OpenTracing Jersey event logging verbosity.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CHILD_SPAN_NAME
Default child span name.
|
static String |
DEFAULT_REQUEST_SPAN_NAME
Default request "root" span name.
|
static String |
DEFAULT_RESOURCE_SPAN_NAME
Default resource span name.
|
static String |
SPAN_CONTEXT_PROPERTY
Stored span's
ContainerRequestContext property key. |
Constructor and Description |
---|
OpenTracingFeature()
Creates feature instance with default (
OpenTracingFeature.Verbosity.INFO verbosity level. |
OpenTracingFeature(OpenTracingFeature.Verbosity verbosity)
Creates feature instance with given (
OpenTracingFeature.Verbosity level. |
public static final String SPAN_CONTEXT_PROPERTY
ContainerRequestContext
property key.public static final String DEFAULT_RESOURCE_SPAN_NAME
public static final String DEFAULT_CHILD_SPAN_NAME
public static final String DEFAULT_REQUEST_SPAN_NAME
public OpenTracingFeature()
OpenTracingFeature.Verbosity.INFO
verbosity level.public OpenTracingFeature(OpenTracingFeature.Verbosity verbosity)
OpenTracingFeature.Verbosity
level.verbosity
- desired level of logging verbositypublic boolean configure(FeatureContext context)
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.