You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenTelemetry Koa Instrumentation allows the user to automatically collect trace data and export them to their backend of choice, to give observability to distributed systems.
23
23
24
-
To load a specific plugin (Koa in this case), specify it in the Node Tracer's configuration.
24
+
To load a specific instrumentation (Koa in this case), specify it in the Node Tracer's configuration.
@@ -30,13 +30,13 @@ const provider = new NodeTracerProvider({
30
30
koa: {
31
31
enabled:true,
32
32
// You may use a package name or absolute path to the file.
33
-
path:'@opentelemetry/plugin-koa',
33
+
path:'@opentelemetry/koa-instrumentation',
34
34
}
35
35
}
36
36
});
37
37
```
38
38
39
-
To load all of the [supported plugins](https://github.com/open-telemetry/opentelemetry-js#plugins), use below approach. Each plugin is only loaded when the module that it patches is loaded; in other words, there is no computational overhead for listing plugins for unused modules.
39
+
To load all of the [supported instrumentations](https://github.com/open-telemetry/opentelemetry-js#plugins), use below approach. Each instrumentation is only loaded when the module that it patches is loaded; in other words, there is no computational overhead for listing instrumentations for unused modules.
0 commit comments