Skip to content

resolveObservabilityConfig

resolveObservabilityConfig(env?, serviceVersion?): ObservabilityConfig

Defined in: config.ts:79

Resolve the observability configuration from the environment.

ProcessEnv = process.env

Environment record (defaults to process.env).

string

Version for the resource (defaults to __PKG_VERSION__).

ObservabilityConfig

The resolved config; enabled is false without an endpoint.