solarwinds-apm
Version:
OpenTelemetry-based SolarWinds APM library
18 lines (15 loc) • 516 B
JavaScript
/* eslint-disable */
;
if (require("./version")) {
if (global[require("./flags").INIT] !== true) {
// this will not trigger if customers use the --import flag then use require,
// it will only trigger if they only ever use require
require("./log")(
"This library (solarwinds-apm) no longer supports loading via require. " +
"The application may not be instrumented."
);
}
module.exports = require("./api.proxy");
} else {
module.exports = require("./api.noop");
}