@vtex/api 6.53.0-beta.1 → 6.53.0-beta.2

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.
package/CHANGELOG.md CHANGED
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [6.53.0-beta.1]
8
+ ## [6.53.0-beta.2]
9
9
  ### Added
10
10
  - Diagnostics metrics observability, backported from the `master` (7.x) line: `DiagnosticsMetrics`
11
11
  (`recordLatency`, `incrementCounter`, `setGauge`, `runWithBaseAttributes`), a split
@@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
16
16
  HTTP client metrics, HTTP agent socket gauges, and the `@metric` GraphQL directive all emit
17
17
  through `DiagnosticsMetrics` at the same points `master` does. Disabled by default; opt in
18
18
  per app with `VTEX_DIAGNOSTICS_TELEMETRY_ENABLED=true`.
19
+ ### Debug
20
+ - TEMPORARY: `debug: true` hardcoded in the `NewTelemetryClient` call, to diagnose why no
21
+ telemetry from `6.x` apps reaches ClickHouse despite clean initialization logs. Surfaces the
22
+ underlying OTel SDK's real export-attempt errors via the console. Revert once root-caused.
19
23
 
20
24
  ## [6.52.0]
21
25
  ### Added
@@ -73,6 +73,12 @@ class TelemetryClientSingleton {
73
73
  },
74
74
  // Use built-in no-op functionality when telemetry is disabled
75
75
  noop: !constants_1.DIAGNOSTICS_TELEMETRY_ENABLED,
76
+ // TEMPORARY: hardcoded on to diagnose why no telemetry from 6.x apps reaches
77
+ // ClickHouse in iotest-ju2 despite clean init logs. Turns on the underlying
78
+ // @opentelemetry/api diag console logger at DEBUG level, surfacing real
79
+ // export-attempt errors instead of them failing silently in the background.
80
+ // Revert once the root cause is found.
81
+ debug: true,
76
82
  });
77
83
  this.rawTelemetryClient = telemetryClient;
78
84
  const [tracesClient, metricsClient, logsClient] = await Promise.all([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtex/api",
3
- "version": "6.53.0-beta.1",
3
+ "version": "6.53.0-beta.2",
4
4
  "description": "VTEX I/O API client",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",