@codefresh-io/cf-telemetry v2.3.0-alpha.3
cf-telemetry
Base utils for monitoring.
Includes:
- Logs.
- MongoDB client monitoring.
- OpenTelemetry auto instrumentation.
- Prometheus server and custom metrics.
- Pyroscope to profile CPU and memory.
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 reorderingEnvironment variables
| Variable | Required | Default value | Description |
|---|---|---|---|
CF_SERVICE_NAME | optional | unknown_service:node | Sets service name for OpenTelemetry, Pyroscope and Prometheus. |
CF_SERVICE_VERSION | optional | unknown | Sets service name for OpenTelemetry, Pyroscope and Prometheus. |
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago