@graphql-hive/plugin-opentelemetry 1.4.23 → 1.4.24-alpha-e99cc4a92253ac32cfee0fed2ab052b434240e27
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 +6 -0
- package/dist/{circuit-breaker-exporter-BLhyy2e6.js → circuit-breaker-exporter-BVLeHUg6.js} +6 -6
- package/dist/{circuit-breaker-exporter-COrlFLux.cjs → circuit-breaker-exporter-Dlje4qsx.cjs} +6 -6
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/setup.cjs +2 -2
- package/dist/setup.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @graphql-hive/plugin-opentelemetry
|
|
2
2
|
|
|
3
|
+
## 1.4.24-alpha-e99cc4a92253ac32cfee0fed2ab052b434240e27
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- Updated dependencies []:
|
|
7
|
+
- @graphql-hive/gateway-runtime@2.9.1-alpha-e99cc4a92253ac32cfee0fed2ab052b434240e27
|
|
8
|
+
|
|
3
9
|
## 1.4.23
|
|
4
10
|
### Patch Changes
|
|
5
11
|
|
|
@@ -1098,7 +1098,7 @@ function getDefaultExportFromCjs (x) {
|
|
|
1098
1098
|
|
|
1099
1099
|
var opossum = {exports: {}};
|
|
1100
1100
|
|
|
1101
|
-
(function (module, exports
|
|
1101
|
+
(function (module, exports) {
|
|
1102
1102
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
1103
1103
|
module.exports = factory();
|
|
1104
1104
|
})(module.exports, () => {
|
|
@@ -1109,7 +1109,7 @@ var opossum = {exports: {}};
|
|
|
1109
1109
|
/*!******************!*\
|
|
1110
1110
|
!*** ./index.js ***!
|
|
1111
1111
|
\******************/
|
|
1112
|
-
/***/ ((module, exports
|
|
1112
|
+
/***/ ((module, exports, __webpack_require__) => {
|
|
1113
1113
|
|
|
1114
1114
|
|
|
1115
1115
|
module.exports = __webpack_require__(/*! ./lib/circuit */ "./lib/circuit.js");
|
|
@@ -1120,7 +1120,7 @@ var opossum = {exports: {}};
|
|
|
1120
1120
|
/*!**********************!*\
|
|
1121
1121
|
!*** ./lib/cache.js ***!
|
|
1122
1122
|
\**********************/
|
|
1123
|
-
/***/ ((module, exports
|
|
1123
|
+
/***/ ((module, exports) => {
|
|
1124
1124
|
|
|
1125
1125
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
1126
1126
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -1208,7 +1208,7 @@ var opossum = {exports: {}};
|
|
|
1208
1208
|
/*!************************!*\
|
|
1209
1209
|
!*** ./lib/circuit.js ***!
|
|
1210
1210
|
\************************/
|
|
1211
|
-
/***/ ((module, exports
|
|
1211
|
+
/***/ ((module, exports, __webpack_require__) => {
|
|
1212
1212
|
|
|
1213
1213
|
|
|
1214
1214
|
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
@@ -2270,7 +2270,7 @@ var opossum = {exports: {}};
|
|
|
2270
2270
|
/*!**************************!*\
|
|
2271
2271
|
!*** ./lib/semaphore.js ***!
|
|
2272
2272
|
\**************************/
|
|
2273
|
-
/***/ ((module, exports
|
|
2273
|
+
/***/ ((module, exports) => {
|
|
2274
2274
|
|
|
2275
2275
|
|
|
2276
2276
|
module.exports = semaphore;
|
|
@@ -2327,7 +2327,7 @@ var opossum = {exports: {}};
|
|
|
2327
2327
|
/*!***********************!*\
|
|
2328
2328
|
!*** ./lib/status.js ***!
|
|
2329
2329
|
\***********************/
|
|
2330
|
-
/***/ ((module, exports
|
|
2330
|
+
/***/ ((module, exports, __webpack_require__) => {
|
|
2331
2331
|
|
|
2332
2332
|
|
|
2333
2333
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
package/dist/{circuit-breaker-exporter-COrlFLux.cjs → circuit-breaker-exporter-Dlje4qsx.cjs}
RENAMED
|
@@ -1100,7 +1100,7 @@ function getDefaultExportFromCjs (x) {
|
|
|
1100
1100
|
|
|
1101
1101
|
var opossum = {exports: {}};
|
|
1102
1102
|
|
|
1103
|
-
(function (module, exports
|
|
1103
|
+
(function (module, exports) {
|
|
1104
1104
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
1105
1105
|
module.exports = factory();
|
|
1106
1106
|
})(module.exports, () => {
|
|
@@ -1111,7 +1111,7 @@ var opossum = {exports: {}};
|
|
|
1111
1111
|
/*!******************!*\
|
|
1112
1112
|
!*** ./index.js ***!
|
|
1113
1113
|
\******************/
|
|
1114
|
-
/***/ ((module, exports
|
|
1114
|
+
/***/ ((module, exports, __webpack_require__) => {
|
|
1115
1115
|
|
|
1116
1116
|
|
|
1117
1117
|
module.exports = __webpack_require__(/*! ./lib/circuit */ "./lib/circuit.js");
|
|
@@ -1122,7 +1122,7 @@ var opossum = {exports: {}};
|
|
|
1122
1122
|
/*!**********************!*\
|
|
1123
1123
|
!*** ./lib/cache.js ***!
|
|
1124
1124
|
\**********************/
|
|
1125
|
-
/***/ ((module, exports
|
|
1125
|
+
/***/ ((module, exports) => {
|
|
1126
1126
|
|
|
1127
1127
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
1128
1128
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -1210,7 +1210,7 @@ var opossum = {exports: {}};
|
|
|
1210
1210
|
/*!************************!*\
|
|
1211
1211
|
!*** ./lib/circuit.js ***!
|
|
1212
1212
|
\************************/
|
|
1213
|
-
/***/ ((module, exports
|
|
1213
|
+
/***/ ((module, exports, __webpack_require__) => {
|
|
1214
1214
|
|
|
1215
1215
|
|
|
1216
1216
|
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
@@ -2272,7 +2272,7 @@ var opossum = {exports: {}};
|
|
|
2272
2272
|
/*!**************************!*\
|
|
2273
2273
|
!*** ./lib/semaphore.js ***!
|
|
2274
2274
|
\**************************/
|
|
2275
|
-
/***/ ((module, exports
|
|
2275
|
+
/***/ ((module, exports) => {
|
|
2276
2276
|
|
|
2277
2277
|
|
|
2278
2278
|
module.exports = semaphore;
|
|
@@ -2329,7 +2329,7 @@ var opossum = {exports: {}};
|
|
|
2329
2329
|
/*!***********************!*\
|
|
2330
2330
|
!*** ./lib/status.js ***!
|
|
2331
2331
|
\***********************/
|
|
2332
|
-
/***/ ((module, exports
|
|
2332
|
+
/***/ ((module, exports, __webpack_require__) => {
|
|
2333
2333
|
|
|
2334
2334
|
|
|
2335
2335
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var circuitBreakerExporter = require('./circuit-breaker-exporter-
|
|
3
|
+
var circuitBreakerExporter = require('./circuit-breaker-exporter-Dlje4qsx.cjs');
|
|
4
4
|
var api = require('@opentelemetry/api');
|
|
5
5
|
var attributes = require('./attributes.cjs');
|
|
6
6
|
var semanticConventions = require('@opentelemetry/semantic-conventions');
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CircuitBreakerExporter, u as useOpenTelemetry } from './circuit-breaker-exporter-
|
|
1
|
+
export { C as CircuitBreakerExporter, u as useOpenTelemetry } from './circuit-breaker-exporter-BVLeHUg6.js';
|
|
2
2
|
export { DiagLogLevel as OpenTelemetryDiagLogLevel } from '@opentelemetry/api';
|
|
3
3
|
export { SEMATTRS_GRAPHQL_DOCUMENT, SEMATTRS_GRAPHQL_OPERATION_NAME, SEMATTRS_GRAPHQL_OPERATION_TYPE, SEMATTRS_HIVE_GATEWAY_OPERATION_SUBGRAPH_NAMES, SEMATTRS_HIVE_GATEWAY_UPSTREAM_SUBGRAPH_NAME, SEMATTRS_HIVE_GRAPHQL_ERROR_CODES, SEMATTRS_HIVE_GRAPHQL_ERROR_COUNT, SEMATTRS_HIVE_GRAPHQL_OPERATION_HASH, SEMATTRS_HIVE_REQUEST_ID, SEMATTRS_IS_HIVE_GRAPHQL_OPERATION, SEMATTRS_IS_HIVE_REQUEST, SEMATTRS_IS_HIVE_SUBGRAPH_EXECUTION } from './attributes.js';
|
|
4
4
|
export { ATTR_SERVICE_NAME, ATTR_SERVICE_VERSION, SEMATTRS_HTTP_CLIENT_IP, SEMATTRS_HTTP_HOST, SEMATTRS_HTTP_METHOD, SEMATTRS_HTTP_ROUTE, SEMATTRS_HTTP_SCHEME, SEMATTRS_HTTP_SERVER_NAME, SEMATTRS_HTTP_STATUS_CODE, SEMATTRS_HTTP_URL, SEMATTRS_HTTP_USER_AGENT, SEMATTRS_NET_HOST_NAME } from '@opentelemetry/semantic-conventions';
|
package/dist/setup.cjs
CHANGED
|
@@ -6,7 +6,7 @@ var core = require('@opentelemetry/core');
|
|
|
6
6
|
var resources = require('@opentelemetry/resources');
|
|
7
7
|
var sdkTraceBase = require('@opentelemetry/sdk-trace-base');
|
|
8
8
|
var semanticConventions = require('@opentelemetry/semantic-conventions');
|
|
9
|
-
var circuitBreakerExporter = require('./circuit-breaker-exporter-
|
|
9
|
+
var circuitBreakerExporter = require('./circuit-breaker-exporter-Dlje4qsx.cjs');
|
|
10
10
|
var exporterTraceOtlpHttp = require('@opentelemetry/exporter-trace-otlp-http');
|
|
11
11
|
var attributes = require('./attributes.cjs');
|
|
12
12
|
var apiLogs = require('@opentelemetry/api-logs');
|
|
@@ -224,7 +224,7 @@ function getContextForRequest(attributes) {
|
|
|
224
224
|
return circuitBreakerExporter.otelCtxForRequestId.get(attributes.requestId) ?? api.ROOT_CONTEXT;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
globalThis.__OTEL_PLUGIN_VERSION__ = '1.4.
|
|
227
|
+
globalThis.__OTEL_PLUGIN_VERSION__ = '1.4.24-alpha-e99cc4a92253ac32cfee0fed2ab052b434240e27';
|
|
228
228
|
let initialized = false;
|
|
229
229
|
function openTelemetrySetup(options) {
|
|
230
230
|
const log = (options.log || new logger.Logger()).child("[OpenTelemetry] ");
|
package/dist/setup.js
CHANGED
|
@@ -5,7 +5,7 @@ import { resourceFromAttributes } from '@opentelemetry/resources';
|
|
|
5
5
|
import { BatchSpanProcessor, SimpleSpanProcessor, ConsoleSpanExporter, BasicTracerProvider, ParentBasedSampler, AlwaysOnSampler, TraceIdRatioBasedSampler } from '@opentelemetry/sdk-trace-base';
|
|
6
6
|
import { ATTR_SERVICE_VERSION, ATTR_SERVICE_NAME } from '@opentelemetry/semantic-conventions';
|
|
7
7
|
export { ATTR_SERVICE_NAME, ATTR_SERVICE_VERSION, SEMATTRS_HTTP_CLIENT_IP, SEMATTRS_HTTP_HOST, SEMATTRS_HTTP_METHOD, SEMATTRS_HTTP_ROUTE, SEMATTRS_HTTP_SCHEME, SEMATTRS_HTTP_SERVER_NAME, SEMATTRS_HTTP_STATUS_CODE, SEMATTRS_HTTP_URL, SEMATTRS_HTTP_USER_AGENT, SEMATTRS_NET_HOST_NAME } from '@opentelemetry/semantic-conventions';
|
|
8
|
-
import { C as CircuitBreakerExporter, o as otelCtxForRequestId, g as getEnvStr, a as getEnvBool, d as diagLogLevelFromEnv } from './circuit-breaker-exporter-
|
|
8
|
+
import { C as CircuitBreakerExporter, o as otelCtxForRequestId, g as getEnvStr, a as getEnvBool, d as diagLogLevelFromEnv } from './circuit-breaker-exporter-BVLeHUg6.js';
|
|
9
9
|
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http';
|
|
10
10
|
import { SEMATTRS_IS_HIVE_SUBGRAPH_EXECUTION, SEMATTRS_HIVE_GRAPHQL_ERROR_CODES, SEMATTRS_HIVE_GRAPHQL_ERROR_COUNT, SEMATTRS_HIVE_GATEWAY_OPERATION_SUBGRAPH_NAMES, SEMATTRS_IS_HIVE_REQUEST, SEMATTRS_IS_HIVE_GRAPHQL_OPERATION } from './attributes.js';
|
|
11
11
|
export { SEMATTRS_GRAPHQL_DOCUMENT, SEMATTRS_GRAPHQL_OPERATION_NAME, SEMATTRS_GRAPHQL_OPERATION_TYPE, SEMATTRS_HIVE_GATEWAY_UPSTREAM_SUBGRAPH_NAME, SEMATTRS_HIVE_GRAPHQL_OPERATION_HASH, SEMATTRS_HIVE_REQUEST_ID } from './attributes.js';
|
|
@@ -224,7 +224,7 @@ function getContextForRequest(attributes) {
|
|
|
224
224
|
return otelCtxForRequestId.get(attributes.requestId) ?? ROOT_CONTEXT;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
globalThis.__OTEL_PLUGIN_VERSION__ = '1.4.
|
|
227
|
+
globalThis.__OTEL_PLUGIN_VERSION__ = '1.4.24-alpha-e99cc4a92253ac32cfee0fed2ab052b434240e27';
|
|
228
228
|
let initialized = false;
|
|
229
229
|
function openTelemetrySetup(options) {
|
|
230
230
|
const log = (options.log || new Logger()).child("[OpenTelemetry] ");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-hive/plugin-opentelemetry",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.24-alpha-e99cc4a92253ac32cfee0fed2ab052b434240e27",
|
|
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.21.0",
|
|
76
|
-
"@graphql-hive/gateway-runtime": "
|
|
76
|
+
"@graphql-hive/gateway-runtime": "2.9.1-alpha-e99cc4a92253ac32cfee0fed2ab052b434240e27",
|
|
77
77
|
"@graphql-hive/logger": "^1.1.0",
|
|
78
78
|
"@graphql-mesh/cross-helpers": "^0.4.13",
|
|
79
79
|
"@graphql-mesh/transport-common": "^1.0.16",
|