addSpanExporter
Adds a SpanExporter to the OpenTelemetry configuration. This exporter will be used to export spans collected during the application's execution.
Parameters
exporter
The SpanExporter instance to be added to the list of custom span exporters.