(Optional) Configure the Collector Endpoint

By default, the collector endpoint points to http://localhost:4318 but can be optionally configured in property otel.exporter.otlp.endpoint:
The default exporter span batching schedule is 5000 milliseconds. The batching schedule can be configured with the OpenTelemetry environment variable OTEL_BSP_SCHEDULE_DELAY: