-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Express example doesn't work as expected #376
Comments
Unfortunately examples on current master here are in an inconsistent state. The instrumentations/plugins here have been updated to use 0.18.0 just recently (see #371) but there was no release made yet therefore samples have not yet been updated. OTel API is close to go GA and therefore quite a lot is moving. I assume the modules hosted here are published soon and then examples can be updated. |
@Flarna i see that there is recent release 0.13.1 of plugins any plans for release all plugins with support for 0.18.0 ? |
#371 to move to 0.18.0 landed 3 days ago. I assume a release will be made soon. As usual some helping hands could speed things up ;o) |
Hello @Flarna, Happy Monday! As fairly new to OTel can you point me to some places where a helping hand is needed? I'm willing to help with code and non-code-related stuff, aligning the examples with 0.18.x maybe? I've read the Kind Regards, |
I would say it's completely up to you. Maybe @open-telemetry/javascript-maintainers can chime in here as well as they have a better overview. |
What version of OpenTelemetry are you using?
v0.18.0
What version of Node are you using?
v14.15.4 (npm v6.14.10)
What did you do?
If possible, provide a recipe for reproducing the error.
Running the zipkin:client npm script thrown an error!
Easy fix tho
StatusCode
should beSpanStatusCode
opentelemetry-js-contrib/examples/express/client.js
Line 19 in e3c1359
However, after fixing the issue above I'm still not getting the desired outcome with trace and propper express spans...
What did you expect to see?
Something like the example expected images for Express
https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/examples/express/images/zipkin.jpg
What did you see instead?
Only one
client.makeRequest
spanAdditional context
Willing to help and create PR during the weekend for the
SpanStatusCode
issue and the example partially not working... however will need some guidance for the Express plugin and why it is not working properly (maybe some changes introduced with 0.17.0 or 0.18.0?)The text was updated successfully, but these errors were encountered: