@graphql-hive/plugin-opentelemetry 1.3.0-alpha-8f7a9ec0ed7ecb561a0901704d8df55dd75ff7da → 1.3.0-alpha-d5caacb0650d9f586b1b8cd01468957aafedd853
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 +5 -5
- 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.3.0-alpha-
|
|
3
|
+
## 1.3.0-alpha-d5caacb0650d9f586b1b8cd01468957aafedd853
|
|
4
4
|
### Minor Changes
|
|
5
5
|
|
|
6
6
|
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
- [#1791](https://github.com/graphql-hive/gateway/pull/1791) [`
|
|
12
|
+
- [#1791](https://github.com/graphql-hive/gateway/pull/1791) [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - New attributes on http, graphql operation and subgraph execution to make it easier to find those "root" spans.
|
|
13
13
|
|
|
14
14
|
- HTTP span: `hive.request: true` and `hive.request.id: <request-id>` if `requestId` exists
|
|
15
15
|
- GraphQL operation : `hive.graphql: true`
|
|
16
16
|
- Subgraph Execution : `hive.upstream: true`
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
- [#1791](https://github.com/graphql-hive/gateway/pull/1791) [`
|
|
19
|
+
- [#1791](https://github.com/graphql-hive/gateway/pull/1791) [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Added `@graphql-hive/plugin-opentelemetry/attributes` module entrypoint exposing graphql and hive
|
|
20
20
|
specific attributes. This was already exposed by the default entrypoint, but it now also has its own one.
|
|
21
21
|
|
|
22
22
|
This fixes an issue with some bundler (like vite) that doesn't support importing non existent `.js`
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
- [#1791](https://github.com/graphql-hive/gateway/pull/1791) [`
|
|
29
|
+
- [#1791](https://github.com/graphql-hive/gateway/pull/1791) [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Fix http span filter function that was not taken in account
|
|
30
30
|
|
|
31
31
|
- Updated dependencies [[`15b9e50`](https://github.com/graphql-hive/gateway/commit/15b9e5037fa74f8c1a8e662e196268a88642c27d), [`abd350b`](https://github.com/graphql-hive/gateway/commit/abd350b913c8938cf173a4a5e25b3ba6c04016fc), [`a50d93a`](https://github.com/graphql-hive/gateway/commit/a50d93a0bc8f3c67de7449ad9102d3f3b60ea96a)]:
|
|
32
|
-
- @graphql-hive/gateway-runtime@2.5.0-alpha-
|
|
32
|
+
- @graphql-hive/gateway-runtime@2.5.0-alpha-d5caacb0650d9f586b1b8cd01468957aafedd853
|
|
33
33
|
|
|
34
34
|
## 1.2.5
|
|
35
35
|
### Patch Changes
|
package/dist/setup.cjs
CHANGED
|
@@ -220,7 +220,7 @@ function getContextForRequest(attributes) {
|
|
|
220
220
|
return plugin.otelCtxForRequestId.get(attributes.requestId) ?? api.ROOT_CONTEXT;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
globalThis.__OTEL_PLUGIN_VERSION__ = '1.3.0-alpha-
|
|
223
|
+
globalThis.__OTEL_PLUGIN_VERSION__ = '1.3.0-alpha-d5caacb0650d9f586b1b8cd01468957aafedd853';
|
|
224
224
|
let initialized = false;
|
|
225
225
|
function openTelemetrySetup(options) {
|
|
226
226
|
const log = options.log || new logger.Logger();
|
package/dist/setup.js
CHANGED
|
@@ -220,7 +220,7 @@ function getContextForRequest(attributes) {
|
|
|
220
220
|
return otelCtxForRequestId.get(attributes.requestId) ?? ROOT_CONTEXT;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
globalThis.__OTEL_PLUGIN_VERSION__ = '1.3.0-alpha-
|
|
223
|
+
globalThis.__OTEL_PLUGIN_VERSION__ = '1.3.0-alpha-d5caacb0650d9f586b1b8cd01468957aafedd853';
|
|
224
224
|
let initialized = false;
|
|
225
225
|
function openTelemetrySetup(options) {
|
|
226
226
|
const log = options.log || new Logger();
|
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-d5caacb0650d9f586b1b8cd01468957aafedd853",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@graphql-hive/core": "^0.18.0",
|
|
76
|
-
"@graphql-hive/gateway-runtime": "2.5.0-alpha-
|
|
76
|
+
"@graphql-hive/gateway-runtime": "2.5.0-alpha-d5caacb0650d9f586b1b8cd01468957aafedd853",
|
|
77
77
|
"@graphql-hive/logger": "^1.0.9",
|
|
78
78
|
"@graphql-mesh/cross-helpers": "^0.4.10",
|
|
79
79
|
"@graphql-mesh/transport-common": "^1.0.12",
|