Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/observability / / OTLPHttpExporterOptions

Interface: OTLPHttpExporterOptions

Defined in: packages/observability/src/exporters/otlp-http.ts:30

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