@golemio/core 1.2.7-dev.513012959 → 1.2.7-dev.522263862

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.
@@ -1,8 +1,9 @@
1
1
  import { HttpInstrumentation } from "@opentelemetry/instrumentation-http";
2
2
  import { IORedisInstrumentation } from "@opentelemetry/instrumentation-ioredis";
3
+ import { RedisInstrumentation } from "@opentelemetry/instrumentation-redis";
3
4
  import { ExpressInstrumentation } from "@opentelemetry/instrumentation-express";
4
5
  import { SequelizeInstrumentation } from "opentelemetry-instrumentation-sequelize";
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 | HttpInstrumentation | SequelizeInstrumentation | MongooseInstrumentation | AmqplibInstrumentation | IORedisInstrumentation | AwsInstrumentation)[];
9
+ export declare const getInstrumentation: () => (ExpressInstrumentation | HttpInstrumentation | SequelizeInstrumentation | MongooseInstrumentation | AmqplibInstrumentation | IORedisInstrumentation | RedisInstrumentation | AwsInstrumentation)[];
@@ -4,6 +4,7 @@ exports.getInstrumentation = void 0;
4
4
  // Instrumentation
5
5
  const instrumentation_http_1 = require("@opentelemetry/instrumentation-http");
6
6
  const instrumentation_ioredis_1 = require("@opentelemetry/instrumentation-ioredis");
7
+ const instrumentation_redis_1 = require("@opentelemetry/instrumentation-redis");
7
8
  const instrumentation_express_1 = require("@opentelemetry/instrumentation-express");
8
9
  const opentelemetry_instrumentation_sequelize_1 = require("opentelemetry-instrumentation-sequelize");
9
10
  const opentelemetry_instrumentation_mongoose_1 = require("opentelemetry-instrumentation-mongoose");
@@ -19,6 +20,7 @@ const getInstrumentation = () => {
19
20
  new opentelemetry_instrumentation_mongoose_1.MongooseInstrumentation(configs_1.mongooseConfig),
20
21
  new opentelemetry_instrumentation_amqplib_1.AmqplibInstrumentation(configs_1.amqplibConfig),
21
22
  new instrumentation_ioredis_1.IORedisInstrumentation(),
23
+ new instrumentation_redis_1.RedisInstrumentation(),
22
24
  new opentelemetry_instrumentation_aws_sdk_1.AwsInstrumentation(configs_1.awsSdkConfig),
23
25
  ];
24
26
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/monitoring/opentelemetry/instrumentation/index.ts"],"names":[],"mappings":";;;AAAA,kBAAkB;AAClB,8EAA0E;AAC1E,oFAAgF;AAChF,oFAAgF;AAChF,qGAAmF;AACnF,mGAAiF;AACjF,iGAA+E;AAC/E,iGAA2E;AAE3E,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,8DAAsB,CAAC,uBAAa,CAAC;QACzC,IAAI,gDAAsB,EAAE;QAC5B,IAAI,0DAAkB,CAAC,sBAAY,CAAC;KACvC,CAAC;AACN,CAAC,CAAC;AAVW,QAAA,kBAAkB,sBAU7B"}
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,iGAA+E;AAC/E,iGAA2E;AAE3E,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,8DAAsB,CAAC,uBAAa,CAAC;QACzC,IAAI,gDAAsB,EAAE;QAC5B,IAAI,4CAAoB,EAAE;QAC1B,IAAI,0DAAkB,CAAC,sBAAY,CAAC;KACvC,CAAC;AACN,CAAC,CAAC;AAXW,QAAA,kBAAkB,sBAW7B"}
@@ -0,0 +1,2 @@
1
+ import * as Luxon from "luxon";
2
+ export = Luxon;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ const Luxon = __importStar(require("luxon"));
22
+ module.exports = Luxon;
23
+ //# sourceMappingURL=luxon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"luxon.js","sourceRoot":"","sources":["../../src/shared/luxon.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,iBAAS,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/core",
3
- "version": "1.2.7-dev.513012959",
3
+ "version": "1.2.7-dev.522263862",
4
4
  "description": "Golemio Core Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -70,19 +70,21 @@
70
70
  "dependencies": {
71
71
  "@golemio/errors": "^1.0.1",
72
72
  "@golemio/utils": "^1.0.0",
73
- "@golemio/validator": "0.2.0",
73
+ "@golemio/validator": "0.2.1-dev.522219464",
74
74
  "@google-cloud/storage": "^5.18.0",
75
75
  "@opentelemetry/api": "^1.0.2",
76
76
  "@opentelemetry/exporter-jaeger": "^0.24.0",
77
77
  "@opentelemetry/instrumentation-express": "^0.24.0",
78
78
  "@opentelemetry/instrumentation-http": "^0.24.0",
79
79
  "@opentelemetry/instrumentation-ioredis": "^0.24.0",
80
+ "@opentelemetry/instrumentation-redis": "^0.24.0",
80
81
  "@opentelemetry/node": "^0.24.0",
81
82
  "@opentelemetry/resources": "^0.24.0",
82
83
  "@opentelemetry/tracing": "^0.24.0",
83
84
  "@sentry/node": "^6.11.0",
84
85
  "@sentry/tracing": "^6.11.0",
85
86
  "@types/express": "^4.16.0",
87
+ "@types/luxon": "^2.3.1",
86
88
  "@types/request-promise": "^4.1.45",
87
89
  "ajv": "^8.10.0",
88
90
  "amqplib": "^0.7.1",
@@ -102,6 +104,7 @@
102
104
  "ioredis": "^4.19.4",
103
105
  "lightship": "^6.7.2",
104
106
  "lodash": "^4.17.21",
107
+ "luxon": "^2.3.2",
105
108
  "moment-timezone": "^0.5.26",
106
109
  "mongodb-restore-dump": "1.0.1",
107
110
  "mongoose": "^5.3.6",