Eric Thompson
03/15/2024, 6:02 AMconst sdk = new opentelemetry.NodeSDK({
traceExporter,
instrumentations: [
getNodeAutoInstrumentations({
'@opentelemetry/instrumentation-nestjs-core': {},
'@opentelemetry/instrumentation-express': {},
'@opentelemetry/instrumentation-mongodb': {},
'@opentelemetry/instrumentation-http': {}
})],
resource: new Resource({
[SEMRESATTRS_SERVICE_NAME]: 'my-app',
}),
});
nitya-signoz
03/15/2024, 8:20 AMSrikanth Chekuri
03/15/2024, 4:52 PMopentelemetry/auto-instrumentations-node
and same thing side car auto instrumentation uses.Eric Thompson
03/15/2024, 6:13 PMEric Thompson
03/15/2024, 7:32 PMEric Thompson
03/15/2024, 7:32 PMEric Thompson
03/15/2024, 7:32 PM