java.lang.Object
io.helidon.tracing.config.TracingConfigUtil
Utility to get the current tracing configuration.
 The tracing configuration must be registered in current 
Context.
 This can be achieved either through configuration of the global context and registering it with a server component,
 or by using a server specific approach, such as Routing.Builder#register(WebTracingConfig).- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic SpanTracingConfigspanConfig(String component, String spanName) Get the configuration of a single span from currentContext.static SpanTracingConfigspanConfig(String component, String spanName, boolean defaultEnabled) Get the configuration of a single span from currentContext.static SpanTracingConfigspanConfig(String component, String spanName, Context context) Get the configuration of a single span from the providedContext.
- 
Field Details- 
OUTBOUND_SPAN_QUALIFIERQualifier for outboundio.opentracing.SpanContextas registered withContext.
 
- 
- 
Method Details- 
spanConfigGet the configuration of a single span from currentContext.- Parameters:
- component- component tracing this span
- spanName- name of the span to trace
- Returns:
- span configuration, including configuration of span logs
 
- 
spanConfigGet the configuration of a single span from the providedContext.- Parameters:
- component- component tracing this span
- spanName- name of the span to trace
- context- context to get tracing configuration from
- Returns:
- span configuration, including configuration of span logs
 
- 
spanConfigpublic static SpanTracingConfig spanConfig(String component, String spanName, boolean defaultEnabled) Get the configuration of a single span from currentContext.- Parameters:
- component- component tracing this span
- spanName- name of the span to trace
- defaultEnabled- whether tracing should be enabled by default
- Returns:
- span configuration, including configuration of span logs
 
 
-