Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/observability / / OTLPHttpExporterOptions
Interface: OTLPHttpExporterOptions
Defined in: packages/observability/src/exporters/otlp-http.ts:29
Configuration shape for createOTLPHttpExporter.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
fetchImpl? | readonly | (input, init?) => Promise<Response> | Optional fetch override — useful for testing without the network. | packages/observability/src/exporters/otlp-http.ts:39 |
headers? | readonly | Readonly<Record<string, string>> | Optional headers (auth, tenant id, …). Avoid passing secrets in plain. | packages/observability/src/exporters/otlp-http.ts:35 |
id? | readonly | string | Identifier reported via exporter.id. Defaults to 'otlp-http'. | packages/observability/src/exporters/otlp-http.ts:31 |
serviceName? | readonly | string | Service name embedded in the OTLP Resource. | packages/observability/src/exporters/otlp-http.ts:37 |
timeoutMs? | readonly | number | Optional timeout (ms). Defaults to 10000. | packages/observability/src/exporters/otlp-http.ts:41 |
url | readonly | string | OTLP collector URL (e.g. http://localhost:4318/v1/traces). | packages/observability/src/exporters/otlp-http.ts:33 |