@codefresh-io/cf-telemetry 4.1.2 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -27,7 +27,8 @@ import '@codefresh-io/cf-telemetry/init'
27
27
 
28
28
  This library only registers terminate listener `beforeExit` event to gracefully terminate instrumentation, which may include flushing logs, metrics, and profiles.
29
29
 
30
- Please ensure calling `terminate()` method of this library before calling `process.exit()`, or to include it in your application logic that handles `SIGINT`/`SIGTERM` signals, to ensure graceful termination of instrumentation.
30
+ > [!IMPORTANT]
31
+ > Please ensure calling `terminate()` method of this library before calling `process.exit()`, or to include it in your application logic that handles `SIGINT`/`SIGTERM` signals, to ensure graceful termination of instrumentation.
31
32
 
32
33
  ```TS
33
34
  import { terminate } from '@codefresh-io/cf-telemetry/init'
@@ -55,4 +56,4 @@ process.on('SIGTERM', async () => {
55
56
  | Variable | Required | Default value | Description |
56
57
  |------------------------| -------- |-------------------------------------------------------------------|---------------------------------------------|
57
58
  | `CF_SERVICE_NAME` | optional | `unknown_service:node` | Sets service name for OpenTelemetry, Pyroscope and Prometheus. |
58
- | `CF_SERVICE_VERSION` | optional | `unknown` | Sets service name for OpenTelemetry, Pyroscope and Prometheus. |
59
+ | `CF_SERVICE_VERSION` | optional | `unknown` | Sets service version for OpenTelemetry, Pyroscope and Prometheus. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefresh-io/cf-telemetry",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "exports": {
5
5
  "./init": {
6
6
  "import": "./dist/init.mjs",
@@ -72,7 +72,7 @@
72
72
  "@opentelemetry/sdk-metrics": "~2.6.0",
73
73
  "@opentelemetry/sdk-trace-node": "~2.6.0",
74
74
  "@pyroscope/nodejs": "^0.4.10",
75
- "fastify": "^5.8.2",
75
+ "fastify": "^5.8.3",
76
76
  "pino": "^10.3.1",
77
77
  "pino-pretty": "^13.1.3",
78
78
  "prom-client": "^15.1.3"