OTelSDKFactory constructor
OTelSDKFactory({
- required String apiEndpoint,
- required String apiServiceName,
- required String apiServiceVersion,
- OTelFactoryCreationFunction? factoryFactory = otelSDKFactoryFactoryFunction,
Creates a new OTelSDKFactory with the specified configuration.
@param apiEndpoint The endpoint URL for the OpenTelemetry collector @param apiServiceName The name of the service being instrumented @param apiServiceVersion The version of the service being instrumented @param factoryFactory Optional factory function for creating new instances
Implementation
OTelSDKFactory({
required super.apiEndpoint,
required super.apiServiceName,
required super.apiServiceVersion,
super.factoryFactory = otelSDKFactoryFactoryFunction,
});