fixes for account, admin

This commit is contained in:
Luke Berndt
2024-09-14 09:54:19 -04:00
parent aa9f142d86
commit a1c3929fb9
7 changed files with 645 additions and 41 deletions

View File

@@ -2,8 +2,6 @@
const opentelemetry = require('@opentelemetry/sdk-node');
const { MongoDBInstrumentation } = require('@opentelemetry/instrumentation-mongodb');
const {SocketIoInstrumentation} = require("@opentelemetry/instrumentation-socket.io");
const { MongooseInstrumentation } = require('@opentelemetry/instrumentation-mongoose');
const { TraceIdRatioBasedSampler } = require('@opentelemetry/sdk-trace-node');
const { OTLPTraceExporter } = require('@opentelemetry/exporter-trace-otlp-http');
const { getNodeAutoInstrumentations } = require('@opentelemetry/auto-instrumentations-node');
@@ -27,8 +25,6 @@ const sdk = new opentelemetry.NodeSDK({
traceExporter: new OTLPTraceExporter(),
sampler: new TraceIdRatioBasedSampler(samplePercentage),
instrumentations: [
new SocketIoInstrumentation(),
new MongooseInstrumentation(),
new MongoDBInstrumentation({
// see under for available configuration
}),