OTelSDKFactory constructor

OTelSDKFactory({
  1. required String apiEndpoint,
  2. required String apiServiceName,
  3. required String apiServiceVersion,
  4. 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,
});