@oas-tools/oas-telemetry 0.5.0 → 0.5.1
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/dist/config.cjs +1 -2
- package/package.json +1 -1
- package/src/config.js +1 -2
package/dist/config.cjs
CHANGED
|
@@ -7,12 +7,11 @@ exports.globalOasTlmConfig = exports.default = void 0;
|
|
|
7
7
|
var _dynamicExporter = _interopRequireDefault(require("./exporters/dynamicExporter.cjs"));
|
|
8
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
9
|
//Environment variables
|
|
10
|
-
//OASTLM_API_KEY = 'oas-telemetry-api-key' //Cookie value for the API key
|
|
11
10
|
//OASTLM_MODULE_DISABLED = 'true' //Disables the module (empty middleware and no tracing)
|
|
12
11
|
|
|
13
12
|
const globalOasTlmConfig = exports.globalOasTlmConfig = {
|
|
14
13
|
dynamicExporter: new _dynamicExporter.default(),
|
|
15
|
-
baseURL: "/
|
|
14
|
+
baseURL: "/telemetry",
|
|
16
15
|
spec: null,
|
|
17
16
|
specFileName: "",
|
|
18
17
|
autoActivate: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oas-tools/oas-telemetry",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "This package exports an Express middleware that traces requests and responses of an Express application using OpenTelemetry.",
|
|
5
5
|
"author": "Manuel Otero",
|
|
6
6
|
"contributors": [
|
package/src/config.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import DynamicExporter from "./exporters/dynamicExporter.js";
|
|
2
2
|
|
|
3
3
|
//Environment variables
|
|
4
|
-
//OASTLM_API_KEY = 'oas-telemetry-api-key' //Cookie value for the API key
|
|
5
4
|
//OASTLM_MODULE_DISABLED = 'true' //Disables the module (empty middleware and no tracing)
|
|
6
5
|
|
|
7
6
|
export const globalOasTlmConfig = {
|
|
8
7
|
dynamicExporter: new DynamicExporter(),
|
|
9
|
-
baseURL: "/
|
|
8
|
+
baseURL: "/telemetry",
|
|
10
9
|
spec: null,
|
|
11
10
|
specFileName: "",
|
|
12
11
|
autoActivate: true,
|