createOtelClient
Datalayer Core / createOtelClient
Function: createOtelClient()
createOtelClient(
options?):OtelClient
Defined in: src/otel/client/OtelClient.ts:350
Create a new OtelClient.
The baseUrl defaults to configuration.otelRunUrl from the Datalayer core
configuration store, so only pass it when you want to override the default.
Parameters
options?
OtelClientOptions = {}
Returns
Example
const client = createOtelClient({ token: jwt });
const services = await client.fetchServices();