Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/observability / telemetry / announceTelemetryPosture

Function: announceTelemetryPosture()

ts
function announceTelemetryPosture(opts?): readonly string[];

Defined in: packages/observability/src/telemetry/index.ts:74

Detect the reserved env vars and emit one informational line per process. Returns the lines as an array so callers can route them to any sink they like (defaults to console.info).

Parameters

ParameterType
opts{ env?: ProcessEnv; sink?: (line) => void; }
opts.env?ProcessEnv
opts.sink?(line) => void

Returns

readonly string[]

Stable