File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ export interface NodeTracerConfig extends BasicTracerConfig {
28
28
/** List of all default supported plugins */
29
29
export const DEFAULT_INSTRUMENTATION_PLUGINS : Plugins = {
30
30
'mongodb-core' : { enabled : true , path : '@opentelemetry/plugin-mongodb-core' } ,
31
- dns : { enabled : true , path : '@opentelemetry/plugin-dns' } ,
32
31
grpc : { enabled : true , path : '@opentelemetry/plugin-grpc' } ,
33
32
http : { enabled : true , path : '@opentelemetry/plugin-http' } ,
34
33
https : { enabled : true , path : '@opentelemetry/plugin-https' } ,
Original file line number Diff line number Diff line change @@ -32,6 +32,23 @@ const tracer = new NodeTracer({
32
32
});
33
33
```
34
34
35
+ ### Zipkin
36
+
37
+ If you use Zipkin, you must use ` ignoreHostnames ` in order to not trace those calls. If the server is local. You can set :
38
+
39
+ ```
40
+ const tracer = new NodeTracer({
41
+ plugins: {
42
+ dns: {
43
+ enabled: true,
44
+ // You may use a package name or absolute path to the file.
45
+ path: '@opentelemetry/plugin-dns',
46
+ ignoreHostnames: ['localhost']
47
+ }
48
+ }
49
+ });
50
+ ```
51
+
35
52
### Dns Plugin Options
36
53
37
54
Dns plugin has currently one option. You can set the following:
You can’t perform that action at this time.
0 commit comments