Skip to content

Commit c8e17ef

Browse files
author
mike dupont
committed
removing the register but it still has my custom ones
1 parent 8ef22fc commit c8e17ef

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/core/src/otel.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { registerInstrumentations } from '@opentelemetry/instrumentation';
1+
//import { registerInstrumentations } from '@opentelemetry/instrumentation';
22
//import { diag, DiagConsoleLogger, DiagLogLevel } from '@opentelemetry/api';
33
//import { trace } from '@opentelemetry/api';
44

@@ -56,12 +56,12 @@ try {
5656
// Initialize the OpenTelemetry APIs to use the NodeTracerProvider bindings
5757
provider.register();
5858

59-
registerInstrumentations({
60-
instrumentations: [
61-
getNodeAutoInstrumentations(),
62-
new HttpInstrumentation(),
63-
],
64-
});
59+
// registerInstrumentations({
60+
// instrumentations: [
61+
// getNodeAutoInstrumentations(),
62+
// new HttpInstrumentation(),
63+
// ],
64+
// });
6565

6666

6767
console.log("setup!")

0 commit comments

Comments
 (0)