@graphql-hive/plugin-opentelemetry 1.0.4-rc-e576e7a7a2dd8d5a002b2cecfeccb2c0b2b855d3 → 1.0.4
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 +2 -2
- package/dist/setup.cjs +1 -1
- package/dist/setup.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @graphql-hive/plugin-opentelemetry
|
|
2
2
|
|
|
3
|
-
## 1.0.4
|
|
3
|
+
## 1.0.4
|
|
4
4
|
### Patch Changes
|
|
5
5
|
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
- [#1454](https://github.com/graphql-hive/gateway/pull/1454) [`7020674`](https://github.com/graphql-hive/gateway/commit/70206747f0f1ffaddb4b77742bec053bcd90e494) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Fix root OTEL context getters.
|
|
17
17
|
|
|
18
18
|
- Updated dependencies [[`bcb9407`](https://github.com/graphql-hive/gateway/commit/bcb94071daccb1698439d364ccc37146aa4c5032), [`e758071`](https://github.com/graphql-hive/gateway/commit/e758071ed64ec26baf8c2d1d71bc27275291b018), [`6495780`](https://github.com/graphql-hive/gateway/commit/6495780516c11e6668ab827113b7edfb6379b5f2)]:
|
|
19
|
-
- @graphql-hive/gateway-runtime@2.1.0
|
|
19
|
+
- @graphql-hive/gateway-runtime@2.1.0
|
|
20
20
|
|
|
21
21
|
## 1.0.3
|
|
22
22
|
### Patch Changes
|
package/dist/setup.cjs
CHANGED
|
@@ -209,7 +209,7 @@ function getContextForRequest(attributes) {
|
|
|
209
209
|
return plugin.otelCtxForRequestId.get(attributes.requestId) ?? api.ROOT_CONTEXT;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
globalThis.__OTEL_PLUGIN_VERSION__ = '1.0.4
|
|
212
|
+
globalThis.__OTEL_PLUGIN_VERSION__ = '1.0.4';
|
|
213
213
|
function openTelemetrySetup(options) {
|
|
214
214
|
const log = options.log || new logger.Logger();
|
|
215
215
|
if (plugin.getEnvBool("OTEL_SDK_DISABLED")) {
|
package/dist/setup.js
CHANGED
|
@@ -209,7 +209,7 @@ function getContextForRequest(attributes) {
|
|
|
209
209
|
return otelCtxForRequestId.get(attributes.requestId) ?? ROOT_CONTEXT;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
globalThis.__OTEL_PLUGIN_VERSION__ = '1.0.4
|
|
212
|
+
globalThis.__OTEL_PLUGIN_VERSION__ = '1.0.4';
|
|
213
213
|
function openTelemetrySetup(options) {
|
|
214
214
|
const log = options.log || new Logger();
|
|
215
215
|
if (getEnvBool("OTEL_SDK_DISABLED")) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-hive/plugin-opentelemetry",
|
|
3
|
-
"version": "1.0.4
|
|
3
|
+
"version": "1.0.4",
|
|
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.13.0",
|
|
66
|
-
"@graphql-hive/gateway-runtime": "2.1.0
|
|
66
|
+
"@graphql-hive/gateway-runtime": "^2.1.0",
|
|
67
67
|
"@graphql-hive/logger": "^1.0.2",
|
|
68
68
|
"@graphql-mesh/cross-helpers": "^0.4.10",
|
|
69
69
|
"@graphql-mesh/transport-common": "^1.0.2",
|