@golemio/core 1.2.9-dev.534259948 → 1.2.9-dev.535201370

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/README.md CHANGED
@@ -1,8 +1,11 @@
1
1
  <div align="center">
2
2
  <p>
3
- <a href="https://operatorict.cz/">
3
+ <a href="https://operatorict.cz">
4
4
  <img src="./.assets/oict_logo.png" alt="oict" width="100px" height="100px" />
5
5
  </a>
6
+ <a href="https://golemio.cz">
7
+ <img src="./.assets/golemio_logo.png" alt="golemio" width="100px" height="100px" />
8
+ </a>
6
9
  </p>
7
10
 
8
11
  <h1>@golemio/core</h1>
@@ -1,3 +1,2 @@
1
1
  import { HttpInstrumentationConfig } from "@opentelemetry/instrumentation-http/build/src/types";
2
- import { InstrumentationConfig } from "@opentelemetry/instrumentation";
3
- export declare const httpConfig: HttpInstrumentationConfig & InstrumentationConfig;
2
+ export declare const httpConfig: HttpInstrumentationConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"http.js","sourceRoot":"","sources":["../../../../../src/monitoring/opentelemetry/instrumentation/configs/http.ts"],"names":[],"mappings":";;;AAAA,+BAAsE;AAItE,wCAA+C;AAC/C,gEAA+D;AAE/D,MAAM,oBAAoB,GAAgC,CACtD,IAAU,EACV,OAAwC,EACxC,QAA0C,EACtC,EAAE;IACN,IAAI,OAAO,YAAY,oBAAa,EAAE;QAClC,IAAI,CAAC,YAAY,CAAC,2CAAqB,CAAC,oBAAoB,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;KACvG;IACD,IAAI,QAAQ,YAAY,sBAAe,EAAE;QACrC,IAAI,CAAC,YAAY,CAAC,2CAAqB,CAAC,qBAAqB,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;KACpG;AACL,CAAC,CAAC;AAEW,QAAA,UAAU,GAAsD;IACzE,2BAA2B,EAAE,IAAA,2BAAiB,EAAC,oBAAoB,CAAC;CACvE,CAAC"}
1
+ {"version":3,"file":"http.js","sourceRoot":"","sources":["../../../../../src/monitoring/opentelemetry/instrumentation/configs/http.ts"],"names":[],"mappings":";;;AAAA,+BAAsE;AAGtE,wCAA+C;AAC/C,gEAA+D;AAE/D,MAAM,oBAAoB,GAAgC,CACtD,IAAU,EACV,OAAwC,EACxC,QAA0C,EACtC,EAAE;IACN,IAAI,OAAO,YAAY,oBAAa,EAAE;QAClC,IAAI,CAAC,YAAY,CAAC,2CAAqB,CAAC,oBAAoB,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;KACvG;IACD,IAAI,QAAQ,YAAY,sBAAe,EAAE;QACrC,IAAI,CAAC,YAAY,CAAC,2CAAqB,CAAC,qBAAqB,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;KACpG;AACL,CAAC,CAAC;AAEW,QAAA,UAAU,GAA8B;IACjD,2BAA2B,EAAE,IAAA,2BAAiB,EAAC,oBAAoB,CAAC;CACvE,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { HttpInstrumentation } from "@opentelemetry/instrumentation-http";
1
2
  import { IORedisInstrumentation } from "@opentelemetry/instrumentation-ioredis";
2
3
  import { RedisInstrumentation } from "@opentelemetry/instrumentation-redis";
3
4
  import { ExpressInstrumentation } from "@opentelemetry/instrumentation-express";
@@ -5,4 +6,4 @@ import { SequelizeInstrumentation } from "opentelemetry-instrumentation-sequeliz
5
6
  import { MongooseInstrumentation } from "opentelemetry-instrumentation-mongoose";
6
7
  import { AmqplibInstrumentation } from "@opentelemetry/instrumentation-amqplib";
7
8
  import { AwsInstrumentation } from "@opentelemetry/instrumentation-aws-sdk";
8
- export declare const getInstrumentation: () => (ExpressInstrumentation | SequelizeInstrumentation | MongooseInstrumentation | AmqplibInstrumentation | IORedisInstrumentation | RedisInstrumentation | AwsInstrumentation)[];
9
+ export declare const getInstrumentation: () => (ExpressInstrumentation | HttpInstrumentation | SequelizeInstrumentation | MongooseInstrumentation | AmqplibInstrumentation | IORedisInstrumentation | RedisInstrumentation | AwsInstrumentation)[];
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getInstrumentation = void 0;
4
+ // Instrumentation
5
+ const instrumentation_http_1 = require("@opentelemetry/instrumentation-http");
4
6
  const instrumentation_ioredis_1 = require("@opentelemetry/instrumentation-ioredis");
5
7
  const instrumentation_redis_1 = require("@opentelemetry/instrumentation-redis");
6
8
  const instrumentation_express_1 = require("@opentelemetry/instrumentation-express");
@@ -13,7 +15,7 @@ const configs_1 = require("./configs");
13
15
  const getInstrumentation = () => {
14
16
  return [
15
17
  new instrumentation_express_1.ExpressInstrumentation(),
16
- // new HttpInstrumentation(httpConfig),
18
+ new instrumentation_http_1.HttpInstrumentation(configs_1.httpConfig),
17
19
  new opentelemetry_instrumentation_sequelize_1.SequelizeInstrumentation(configs_1.sequelizeConfig),
18
20
  new opentelemetry_instrumentation_mongoose_1.MongooseInstrumentation(configs_1.mongooseConfig),
19
21
  new instrumentation_amqplib_1.AmqplibInstrumentation(configs_1.amqplibConfig),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/monitoring/opentelemetry/instrumentation/index.ts"],"names":[],"mappings":";;;AAEA,oFAAgF;AAChF,gFAA4E;AAC5E,oFAAgF;AAChF,qGAAmF;AACnF,mGAAiF;AACjF,oFAAgF;AAChF,oFAA4E;AAE5E,UAAU;AACV,uCAAqG;AAE9F,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACnC,OAAO;QACH,IAAI,gDAAsB,EAAE;QAC5B,uCAAuC;QACvC,IAAI,kEAAwB,CAAC,yBAAe,CAAC;QAC7C,IAAI,gEAAuB,CAAC,wBAAc,CAAC;QAC3C,IAAI,gDAAsB,CAAC,uBAAa,CAAC;QACzC,IAAI,gDAAsB,EAAE;QAC5B,IAAI,4CAAoB,EAAE;QAC1B,IAAI,4CAAkB,CAAC,sBAAY,CAAC;KACvC,CAAC;AACN,CAAC,CAAC;AAXW,QAAA,kBAAkB,sBAW7B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/monitoring/opentelemetry/instrumentation/index.ts"],"names":[],"mappings":";;;AAAA,kBAAkB;AAClB,8EAA0E;AAC1E,oFAAgF;AAChF,gFAA4E;AAC5E,oFAAgF;AAChF,qGAAmF;AACnF,mGAAiF;AACjF,oFAAgF;AAChF,oFAA4E;AAE5E,UAAU;AACV,uCAAqG;AAE9F,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACnC,OAAO;QACH,IAAI,gDAAsB,EAAE;QAC5B,IAAI,0CAAmB,CAAC,oBAAU,CAAC;QACnC,IAAI,kEAAwB,CAAC,yBAAe,CAAC;QAC7C,IAAI,gEAAuB,CAAC,wBAAc,CAAC;QAC3C,IAAI,gDAAsB,CAAC,uBAAa,CAAC;QACzC,IAAI,gDAAsB,EAAE;QAC5B,IAAI,4CAAoB,EAAE;QAC1B,IAAI,4CAAkB,CAAC,sBAAY,CAAC;KACvC,CAAC;AACN,CAAC,CAAC;AAXW,QAAA,kBAAkB,sBAW7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/core",
3
- "version": "1.2.9-dev.534259948",
3
+ "version": "1.2.9-dev.535201370",
4
4
  "description": "Golemio Core Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -77,7 +77,7 @@
77
77
  "@opentelemetry/instrumentation-amqplib": "^0.28.0",
78
78
  "@opentelemetry/instrumentation-aws-sdk": "^0.6.0",
79
79
  "@opentelemetry/instrumentation-express": "^0.28.0",
80
- "@opentelemetry/instrumentation-http": "^0.28.0",
80
+ "@opentelemetry/instrumentation-http": "^0.27.0",
81
81
  "@opentelemetry/instrumentation-ioredis": "^0.28.0",
82
82
  "@opentelemetry/instrumentation-pg": "^0.28.0",
83
83
  "@opentelemetry/instrumentation-redis": "^0.29.0",