@platformatic/itc 4.0.0-new-config.1 → 4.0.0-new-config.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/lib/telemetry.js +2 -2
  2. package/package.json +2 -2
package/lib/telemetry.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ROOT_CONTEXT, SpanKind, SpanStatusCode, context, propagation, trace } from '@opentelemetry/api'
2
- import { getTelemetryReady, getTracerProvider } from '@platformatic/globals'
2
+ import { getTracingReady, getTracerProvider } from '@platformatic/globals'
3
3
 
4
4
  let tracer = null
5
5
  let telemetryInitialization = null
@@ -82,7 +82,7 @@ export function initializeITCTelemetry () {
82
82
  return telemetryInitialization
83
83
  }
84
84
 
85
- telemetryInitialization = Promise.resolve(getTelemetryReady({ throwOnMissing: false }))
85
+ telemetryInitialization = Promise.resolve(getTracingReady({ throwOnMissing: false }))
86
86
  .catch(() => {
87
87
  // Ignore telemetry initialization failures and fall back to untraced messaging.
88
88
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/itc",
3
- "version": "4.0.0-new-config.1",
3
+ "version": "4.0.0-new-config.3",
4
4
  "description": "Platformatic ITC",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "@fastify/error": "^4.0.0",
28
28
  "@opentelemetry/api": "^1.9.0",
29
29
  "@watchable/unpromise": "^1.0.2",
30
- "@platformatic/globals": "4.0.0-new-config.1"
30
+ "@platformatic/globals": "4.0.0-new-config.3"
31
31
  },
32
32
  "engines": {
33
33
  "node": ">=22.19.0"