OtlpObserver
Parameters
sends the spans. Its engine decides the platform: Js in the browser, Darwin on iOS, OkHttp on Android, CIO or Java on the JVM.
the coroutines that send the spans run in it. Cancel it, and nothing more is sent except by flush.
the URL of the traces, /v1/traces of the collector. The default is a collector on the same machine.
the service.name of the spans, the name a backend shows for the app.
more attributes of the app, such as service.version or deployment.environment.
sent with each request, for example the key of a backend that receives OTLP itself.
how long a span that ended waits for others before they are sent together.
records the messages of each model call and the input and result of each tool call. Off by default, because they can hold personal data.
the most characters of each text that recordContent records.
told when spans could not be sent. It must not throw.