Package io.vertx.tracing.opentelemetry
Class OpenTelemetryTracingFactory
- java.lang.Object
- 
- io.vertx.tracing.opentelemetry.OpenTelemetryTracingFactory
 
- 
- All Implemented Interfaces:
- VertxServiceProvider,- VertxTracerFactory
 
 public class OpenTelemetryTracingFactory extends Object implements VertxTracerFactory 
- 
- 
Field Summary- 
Fields inherited from interface io.vertx.core.spi.VertxTracerFactoryNOOP
 
- 
 - 
Constructor SummaryConstructors Constructor Description OpenTelemetryTracingFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TracingOptionsnewOptions()Create an empty tracing options.TracingOptionsnewOptions(JsonObject jsonObject)Create tracing options from the providedjsonObject.VertxTracer<?,?>tracer(TracingOptions options)Create a newVertxTracerobject.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface io.vertx.core.spi.VertxTracerFactoryinit
 
- 
 
- 
- 
- 
Method Detail- 
tracerpublic VertxTracer<?,?> tracer(TracingOptions options) Description copied from interface:VertxTracerFactoryCreate a newVertxTracerobject. No specific thread and context can be expected when this method is called.- Specified by:
- tracerin interface- VertxTracerFactory
- Parameters:
- options- the metrics configuration option
- Returns:
- the tracing implementation
 
 - 
newOptionspublic TracingOptions newOptions() Description copied from interface:VertxTracerFactoryCreate an empty tracing options. Providers can override this method to provide a custom tracing options subclass that exposes custom configuration.- Specified by:
- newOptionsin interface- VertxTracerFactory
- Returns:
- new tracing options
 
 - 
newOptionspublic TracingOptions newOptions(JsonObject jsonObject) Description copied from interface:VertxTracerFactoryCreate tracing options from the providedjsonObject. Providers can override this method to provide a custom tracing options subclass that exposes custom configuration.- Specified by:
- newOptionsin interface- VertxTracerFactory
- Parameters:
- jsonObject- json provided by the user
- Returns:
- new tracing options
 
 
- 
 
-