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
Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
0.3.2
What version of Node are you using?
12, 10, 8
What did you do?
If possible, provide a recipe for reproducing the error.
constopentelemetry=require('../../packages/opentelemetry-core');const{ NodeTracerRegistry }=require('../../packages/opentelemetry-node');const{ SimpleSpanProcessor }=require('../../packages/opentelemetry-tracing');const{ JaegerExporter }=require('../../packages/opentelemetry-exporter-jaeger');constregistry=newNodeTracerRegistry({plugins: {ioredis: {enabled: true,path: path.join(__dirname,"../../packages/opentelemetry-plugin-ioredis"),}}});registry.addSpanProcessor(newSimpleSpanProcessor(newJaegerExporter({serviceName: 'ioredis-example',})));// Initialize the OpenTelemetry APIs to use the BasicTracerRegistry bindingsopentelemetry.initGlobalTracerRegistry(registry);constRedis=require("ioredis");constredis=newRedis();asyncfunctionmain(){awaitredis.set("foo","bar");awaitredis.quit();}main()
What did you expect to see?
Program exits after redis command
What did you see instead?
Program continues to run
Additional context
Jaeger client uses a UDP socket to communicate with Jaeger. After one span is sent, it appears this connection stays open for an undefined length of time. Unref'ing the socket solves the problem.
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
0.3.2
What version of Node are you using?
12, 10, 8
What did you do?
If possible, provide a recipe for reproducing the error.
What did you expect to see?
Program exits after redis command
What did you see instead?
Program continues to run
Additional context
Jaeger client uses a UDP socket to communicate with Jaeger. After one span is sent, it appears this connection stays open for an undefined length of time. Unref'ing the socket solves the problem.
The text was updated successfully, but these errors were encountered: