Skip to content

basalt / core/src / OtlpHttpExporterOptions

Interface: OtlpHttpExporterOptions ​

Defined in: core/src/tracing.ts:232

Properties ​

fetchImpl? ​

> optional fetchImpl?: (input, init?) => Promise<Response>

Defined in: core/src/tracing.ts:239

Parameters ​

input ​

string | URL | Request

init? ​

RequestInit

Returns ​

Promise<Response>


headers? ​

> optional headers?: Record<string, string>

Defined in: core/src/tracing.ts:236


maxBatch? ​

> optional maxBatch?: number

Defined in: core/src/tracing.ts:238

Flush when the buffer reaches this size. Default 100.


serviceName? ​

> optional serviceName?: string

Defined in: core/src/tracing.ts:235


url ​

> url: string

Defined in: core/src/tracing.ts:234

Collector base URL, e.g. http://localhost:4318 (path /v1/traces is appended).

Released under the MIT License.