Trickier disabling honeycomb instrumentation
Hm, okay, so the documented way to not instrument anything doesn't actually stop them from patching Module._load. But this undocumented option sure does! So, woo, let's try it! lol
This commit is contained in:
parent
e5081dab7e
commit
ba8e4d8aa7
9 changed files with 9 additions and 9 deletions
|
@ -5,7 +5,7 @@ const beeline = require("honeycomb-beeline")({
|
|||
? "Dress to Impress (2020)"
|
||||
: "Dress to Impress (2020, dev)",
|
||||
serviceName: "impress-2020-gql-server",
|
||||
enabledInstrumentations: [],
|
||||
disableInstrumentationOnLoad: true,
|
||||
});
|
||||
|
||||
import fetch from "node-fetch";
|
||||
|
|
|
@ -15,7 +15,7 @@ const beeline = require("honeycomb-beeline")({
|
|||
? "Dress to Impress (2020)"
|
||||
: "Dress to Impress (2020, dev)",
|
||||
serviceName: "impress-2020-gql-server",
|
||||
enabledInstrumentations: [],
|
||||
disableInstrumentationOnLoad: true,
|
||||
});
|
||||
|
||||
const { chromium } = require("playwright");
|
||||
|
|
|
@ -5,7 +5,7 @@ const beeline = require("honeycomb-beeline")({
|
|||
? "Dress to Impress (2020)"
|
||||
: "Dress to Impress (2020, dev)",
|
||||
serviceName: "impress-2020-gql-server",
|
||||
enabledInstrumentations: [],
|
||||
disableInstrumentationOnLoad: true,
|
||||
samplerHook,
|
||||
});
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ const beeline = require("honeycomb-beeline")({
|
|||
? "Dress to Impress (2020)"
|
||||
: "Dress to Impress (2020, dev)",
|
||||
serviceName: "impress-2020-gql-server",
|
||||
enabledInstrumentations: [],
|
||||
disableInstrumentationOnLoad: true,
|
||||
sampleRate: 10,
|
||||
});
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ const beeline = require("honeycomb-beeline")({
|
|||
? "Dress to Impress (2020)"
|
||||
: "Dress to Impress (2020, dev)",
|
||||
serviceName: "impress-2020-gql-server",
|
||||
enabledInstrumentations: [],
|
||||
disableInstrumentationOnLoad: true,
|
||||
});
|
||||
|
||||
import escapeHtml from "escape-html";
|
||||
|
|
|
@ -5,7 +5,7 @@ const beeline = require("honeycomb-beeline")({
|
|||
? "Dress to Impress (2020)"
|
||||
: "Dress to Impress (2020, dev)",
|
||||
serviceName: "impress-2020-gql-server",
|
||||
enabledInstrumentations: [],
|
||||
disableInstrumentationOnLoad: true,
|
||||
});
|
||||
import sendgridMail from "@sendgrid/mail";
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ const beeline = require("honeycomb-beeline")({
|
|||
? "Dress to Impress (2020)"
|
||||
: "Dress to Impress (2020, dev)",
|
||||
serviceName: "impress-2020-gql-server",
|
||||
enabledInstrumentations: [],
|
||||
disableInstrumentationOnLoad: true,
|
||||
});
|
||||
const AWS = require("aws-sdk");
|
||||
const Jimp = require("jimp");
|
||||
|
|
|
@ -5,7 +5,7 @@ const beeline = require("honeycomb-beeline")({
|
|||
? "Dress to Impress (2020)"
|
||||
: "Dress to Impress (2020, dev)",
|
||||
serviceName: "impress-2020-gql-server",
|
||||
enabledInstrumentations: [],
|
||||
disableInstrumentationOnLoad: true,
|
||||
});
|
||||
import connectToDb from "../src/server/db";
|
||||
import { getPoseFromPetState, normalizeRow } from "../src/server/util";
|
||||
|
|
|
@ -7,7 +7,7 @@ require("honeycomb-beeline")({
|
|||
? "Dress to Impress (2020)"
|
||||
: "Dress to Impress (2020, dev)",
|
||||
serviceName: "impress-2020-build-process",
|
||||
enabledInstrumentations: [],
|
||||
disableInstrumentationOnLoad: true,
|
||||
});
|
||||
const fs = require("fs").promises;
|
||||
const path = require("path");
|
||||
|
|
Loading…
Reference in a new issue