OptionalaggregationOptionalconcurrencyOptionalheadersPrefer using a plain object over a factory function wherever possible.
If using a factory function (HttpAgentFactory), do not import http or https at the top of the file
Instead, use dynamic import() or require() to load the module. This ensures that the http or https
module is not loaded before @opentelemetry/instrumentation-http can instrument it.
Functions passed to the exporter MUST NOT throw errors.
OptionaltemporalityOptionaltimeoutMaximum time the OTLP exporter will wait for each batch export. The default value is 10000ms.
Optionalurl
Custom headers that will be attached to the HTTP request that's sent to the endpoint.