Package org.apache.beam.sdk.options
Class SdkHarnessOptions.GlobalOpenTelemetryFactory
java.lang.Object
org.apache.beam.sdk.options.SdkHarnessOptions.GlobalOpenTelemetryFactory
- All Implemented Interfaces:
DefaultValueFactory<io.opentelemetry.api.OpenTelemetry>
- Enclosing interface:
SdkHarnessOptions
public static class SdkHarnessOptions.GlobalOpenTelemetryFactory
extends Object
implements DefaultValueFactory<io.opentelemetry.api.OpenTelemetry>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.api.OpenTelemetrycreate(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory.
-
Constructor Details
-
GlobalOpenTelemetryFactory
public GlobalOpenTelemetryFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactoryCreates a default value for a getter marked withDefault.InstanceFactory.- Specified by:
createin interfaceDefaultValueFactory<io.opentelemetry.api.OpenTelemetry>- Parameters:
options- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-