Interface: TelemetryOptions
Defined in: packages/telemetry/src/start.ts:6
Options for startTelemetry.
Properties
env?
readonlyoptionalenv?:Readonly<Record<string,string|undefined>>
Defined in: packages/telemetry/src/start.ts:10
The process environment. Defaults to process.env.
exporter?
readonlyoptionalexporter?:SpanExporter
Defined in: packages/telemetry/src/start.ts:15
A span exporter to use instead of OTLP, which turns telemetry on without an endpoint. For tests: spans are exported synchronously as they end.
instrumentations?
readonlyoptionalinstrumentations?:boolean
Defined in: packages/telemetry/src/start.ts:17
Register the http, pg and fastify instrumentations. Default true; false for tests.
service
readonlyservice:string
Defined in: packages/telemetry/src/start.ts:8
The deployable: service.name on every span.