@graphql-hive/plugin-opentelemetry 1.3.0-alpha-905497611eff623b4c782baf8e5a2d3f3aa2446e → 1.3.0-alpha-ff27151c46b94b3541c690c3ca8802e8f17b9701
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 +11 -5
- package/dist/setup.cjs +1 -1
- package/dist/setup.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# @graphql-hive/plugin-opentelemetry
|
|
2
2
|
|
|
3
|
-
## 1.3.0-alpha-
|
|
3
|
+
## 1.3.0-alpha-ff27151c46b94b3541c690c3ca8802e8f17b9701
|
|
4
4
|
### Minor Changes
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
- [#1636](https://github.com/graphql-hive/gateway/pull/1636) [`
|
|
8
|
+
- [#1636](https://github.com/graphql-hive/gateway/pull/1636) [`cf1bd7a`](https://github.com/graphql-hive/gateway/commit/cf1bd7a5a8afea1bc66df1442b1b0bd93c64c5a4) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Expose GraphQLError as OpenTelemetry Events.
|
|
9
9
|
|
|
10
10
|
Errors contains in the result of a graphql operation are now reported as standalone OpenTelemetry
|
|
11
11
|
Events (name `graphql.error`) instead of OpenTelemetry Exceptions.
|
|
@@ -27,16 +27,22 @@
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
- [#1636](https://github.com/graphql-hive/gateway/pull/1636) [`
|
|
30
|
+
- [#1636](https://github.com/graphql-hive/gateway/pull/1636) [`ce7668d`](https://github.com/graphql-hive/gateway/commit/ce7668d144ea9ce0d07196394c7564f4e1c0a812) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
|
31
31
|
|
|
32
32
|
- Added dependency [`@graphql-tools/executor@^1.4.9` ↗︎](https://www.npmjs.com/package/@graphql-tools/executor/v/1.4.9) (to `dependencies`)
|
|
33
|
+
- Updated dependencies [[`ae8afc5`](https://github.com/graphql-hive/gateway/commit/ae8afc56e410e47dd61809209f6f0a8aa09e7fa6), [`cf1bd7a`](https://github.com/graphql-hive/gateway/commit/cf1bd7a5a8afea1bc66df1442b1b0bd93c64c5a4)]:
|
|
34
|
+
- @graphql-hive/gateway-runtime@2.5.0-alpha-ff27151c46b94b3541c690c3ca8802e8f17b9701
|
|
35
|
+
|
|
36
|
+
## 1.2.4
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
33
39
|
|
|
34
40
|
|
|
35
41
|
- [#1747](https://github.com/graphql-hive/gateway/pull/1747) [`8fdaef5`](https://github.com/graphql-hive/gateway/commit/8fdaef56d70998dacaed829c278fa7079062ad67) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
|
|
36
42
|
|
|
37
43
|
- Updated dependency [`@graphql-hive/core@^0.18.0` ↗︎](https://www.npmjs.com/package/@graphql-hive/core/v/0.18.0) (from `^0.15.1`, in `dependencies`)
|
|
38
|
-
- Updated dependencies [[`
|
|
39
|
-
- @graphql-hive/gateway-runtime@2.4.0
|
|
44
|
+
- Updated dependencies [[`8fdaef5`](https://github.com/graphql-hive/gateway/commit/8fdaef56d70998dacaed829c278fa7079062ad67), [`2cab632`](https://github.com/graphql-hive/gateway/commit/2cab632d9094ed76badccf01c1ab8c37bc24112b)]:
|
|
45
|
+
- @graphql-hive/gateway-runtime@2.4.0
|
|
40
46
|
|
|
41
47
|
## 1.2.3
|
|
42
48
|
### Patch Changes
|
package/dist/setup.cjs
CHANGED
|
@@ -215,7 +215,7 @@ function getContextForRequest(attributes) {
|
|
|
215
215
|
return plugin.otelCtxForRequestId.get(attributes.requestId) ?? api.ROOT_CONTEXT;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
globalThis.__OTEL_PLUGIN_VERSION__ = '1.3.0-alpha-
|
|
218
|
+
globalThis.__OTEL_PLUGIN_VERSION__ = '1.3.0-alpha-ff27151c46b94b3541c690c3ca8802e8f17b9701';
|
|
219
219
|
let initialized = false;
|
|
220
220
|
function openTelemetrySetup(options) {
|
|
221
221
|
const log = !options.log || typeof options.log === "string" ? new logger.Logger({ level: options.log }) : options.log;
|
package/dist/setup.js
CHANGED
|
@@ -215,7 +215,7 @@ function getContextForRequest(attributes) {
|
|
|
215
215
|
return otelCtxForRequestId.get(attributes.requestId) ?? ROOT_CONTEXT;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
globalThis.__OTEL_PLUGIN_VERSION__ = '1.3.0-alpha-
|
|
218
|
+
globalThis.__OTEL_PLUGIN_VERSION__ = '1.3.0-alpha-ff27151c46b94b3541c690c3ca8802e8f17b9701';
|
|
219
219
|
let initialized = false;
|
|
220
220
|
function openTelemetrySetup(options) {
|
|
221
221
|
const log = !options.log || typeof options.log === "string" ? new Logger({ level: options.log }) : options.log;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-hive/plugin-opentelemetry",
|
|
3
|
-
"version": "1.3.0-alpha-
|
|
3
|
+
"version": "1.3.0-alpha-ff27151c46b94b3541c690c3ca8802e8f17b9701",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@graphql-hive/core": "^0.18.0",
|
|
66
|
-
"@graphql-hive/gateway-runtime": "2.
|
|
66
|
+
"@graphql-hive/gateway-runtime": "2.5.0-alpha-ff27151c46b94b3541c690c3ca8802e8f17b9701",
|
|
67
67
|
"@graphql-hive/logger": "^1.0.9",
|
|
68
68
|
"@graphql-mesh/cross-helpers": "^0.4.10",
|
|
69
69
|
"@graphql-mesh/transport-common": "^1.0.12",
|