@vtex/api 6.53.0-beta.1 → 6.53.0-beta.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.
- package/CHANGELOG.md +13 -1
- package/package.json +4 -1
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.
|
|
8
|
+
## [6.53.0-beta.3]
|
|
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,18 @@ 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
|
+
### Fixed
|
|
20
|
+
- No metrics/traces/logs from `6.x` apps ever reached ClickHouse, despite clean
|
|
21
|
+
"Telemetry enabled" initialization logs. Root cause (found via a temporary `debug: true`
|
|
22
|
+
diagnostic build): `yarn install` resolved `@grpc/grpc-js` into two separate copies —
|
|
23
|
+
`1.14.4` (satisfying `@vtex/diagnostics-nodejs`'s own `^1.13.4` requirement) and `1.13.3`
|
|
24
|
+
(satisfying the four `@opentelemetry/exporter-*-otlp-grpc` packages' `^1.7.1` requirement) —
|
|
25
|
+
a classic dual-package hazard: the `ChannelCredentials` object built by one copy failed an
|
|
26
|
+
`instanceof` check performed by the other (`TypeError: Channel credentials must be a
|
|
27
|
+
ChannelCredentials object`), so every export silently failed in the background. `master`
|
|
28
|
+
never hit this because its `yarn.lock` happened to collapse both ranges onto a single
|
|
29
|
+
`1.13.4` resolution. Fixed with a `resolutions` pin forcing `@grpc/grpc-js` to `1.13.4`
|
|
30
|
+
everywhere, matching `master`'s naturally-deduped resolution.
|
|
19
31
|
|
|
20
32
|
## [6.52.0]
|
|
21
33
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtex/api",
|
|
3
|
-
"version": "6.53.0-beta.
|
|
3
|
+
"version": "6.53.0-beta.3",
|
|
4
4
|
"description": "VTEX I/O API client",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -129,5 +129,8 @@
|
|
|
129
129
|
"typemoq": "^2.1.0",
|
|
130
130
|
"typescript": "^4.4.4",
|
|
131
131
|
"typescript-json-schema": "^0.52.0"
|
|
132
|
+
},
|
|
133
|
+
"resolutions": {
|
|
134
|
+
"@grpc/grpc-js": "1.13.4"
|
|
132
135
|
}
|
|
133
136
|
}
|