Skip to content

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

PropertyModifierTypeDescriptionDefined 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?readonlyReadonly<Record&lt;string, string&gt;>Optional headers (auth, tenant id, …). Avoid passing secrets in plain.packages/observability/src/exporters/otlp-http.ts:35
id?readonlystringIdentifier reported via exporter.id. Defaults to 'otlp-http'.packages/observability/src/exporters/otlp-http.ts:31
serviceName?readonlystringService name embedded in the OTLP Resource.packages/observability/src/exporters/otlp-http.ts:37
timeoutMs?readonlynumberOptional timeout (ms). Defaults to 10000.packages/observability/src/exporters/otlp-http.ts:41
urlreadonlystringOTLP collector URL (e.g. http://localhost:4318/v1/traces).packages/observability/src/exporters/otlp-http.ts:33