Anonymous View
2.3.0-alpha.3 • Published 1 year ago

@codefresh-io/cf-telemetry v2.3.0-alpha.3

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

cf-telemetry

Base utils for monitoring.

Includes:

Usage

Add import '@codefresh-io/cf-telemetry/init' statement at the very beginning of the application lifecycle.

Please refer to the separate docs above for further configuration and usage details.

// index.ts
// ↓ Should be imported first
import '@codefresh-io/cf-telemetry/init'
// ↓ Keep one blank line below to prevent automatic import reordering

Environment variables

VariableRequiredDefault valueDescription
CF_SERVICE_NAMEoptionalunknown_service:nodeSets service name for OpenTelemetry, Pyroscope and Prometheus.
CF_SERVICE_VERSIONoptionalunknownSets service name for OpenTelemetry, Pyroscope and Prometheus.