Skip to content

Commit 767d5a0

Browse files
committed
remove references to epsagon and iopipe
1 parent 21a2b74 commit 767d5a0

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@manwaring/lambda-wrapper",
33
"description": "A lambda handler wrapper to abstract common functionality and provide useful defaults",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"scripts": {
66
"publish-please-dry-run": "publish-please --dry-run",
77
"publish-please": "publish-please",

src/common/metrics.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,21 @@ class Tagger {
5858
label: Function;
5959

6060
constructor() {
61-
try {
62-
const epsagon = require('epsagon');
63-
this.isEpsagonInstalled = true;
64-
this.label = epsagon.label;
65-
} catch (err) {
66-
logger.debug('Epsagon not installed in project, not tagging with Epsagon labels');
67-
}
68-
try {
69-
const iopipe = require('@iopipe/iopipe');
70-
this.isIOPipeInstalled = true;
71-
this.metric = iopipe.metric;
72-
this.label = iopipe.label;
73-
} catch (err) {
74-
logger.debug('IOPipe not installed in project, not tagging with IOPipe metrics');
75-
}
61+
// try {
62+
// const epsagon = require('epsagon');
63+
// this.isEpsagonInstalled = true;
64+
// this.label = epsagon.label;
65+
// } catch (err) {
66+
// logger.debug('Epsagon not installed in project, not tagging with Epsagon labels');
67+
// }
68+
// try {
69+
// const iopipe = require('@iopipe/iopipe');
70+
// this.isIOPipeInstalled = true;
71+
// this.metric = iopipe.metric;
72+
// this.label = iopipe.label;
73+
// } catch (err) {
74+
// logger.debug('IOPipe not installed in project, not tagging with IOPipe metrics');
75+
// }
7676
}
7777

7878
tag(key: string, value: any = false): void {

0 commit comments

Comments
 (0)