Repository navigation
Align JS live trace attributes with CommonAttributes - #1915
Conversation
|
Welcome to the Microcks community! 💖 Thanks and congrats 🎉 for opening your first pull request here! Be sure to follow the pull request template or please update it accordingly. Hope you have a great time there! 🌟 ~~~~~~~~~ 🌟 📢 If you like Microcks, please ⭐ star ⭐ our repo to support it! 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. |
e1439c4 to
5a76e7c
Compare
lbroudoux
left a comment
There was a problem hiding this comment.
The build is broken as you have used unknown variables. Please compile before submitting a PR!
5a76e7c to
58f01b0
Compare
|
Hi @lbroudoux, I’ve fixed the compilation issue by aligning the JS tracing attributes with the constants used in RestInvocationProcessor, amended the commit with proper DCO sign-off, and force-pushed the update. CI has been re-triggered — please let me know if anything else needs adjustment. |
58f01b0 to
ebd4da1
Compare
Signed-off-by: dipak0000812 <[email protected]>
ebd4da1 to
1dfb7a5
Compare
|
Hi @lbroudoux, All requested code changes are complete: Spotless formatting issues resolved Trace attributes aligned with CommonAttributes and DispatchStyles.JS All unit, integration, and build checks are passing The remaining failing check is SonarCloud analysis, which fails with: This appears to be a SonarCloud permission or token issue for fork-based PRs. Thanks. |
This one is normal as fork branches don't have access to our token. We're struggling putting the right condition in place to avoid this one but a least this a "known error". I think you're right and we're now good to go. Will have final review before the merge. Thanks again for this contribution! |
|
You are now a Microcks community contributor! 💖 Thanks and congrats 🚀 on merging your first pull request! We are delighted and very proud of you! 👏 📢 If you're using Microcks in your organization, please add your company name to this list. 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. If you need to know why and how to add yourself to the list, please read the blog post "Join the Microcks Adopters list and Empower the vibrant open source Community 🙌" Kudos and please keep going, we need you 🙌 🌟 ~~~~~~~~~ 🌟 📢 If you like Microcks, please ⭐ star ⭐ our repo to support it! 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. |
Description
This change aligns JavaScript script live trace span attributes with the shared
CommonAttributesused by Groovy scripts.Previously, JS scripts were emitting custom attributes such as
dispatch.typeanddispatch.script, which caused inconsistencies in live traces and made troubleshooting harder when switching between script engines.This update ensures both Groovy and JavaScript scripts use the same attribute keys and values for dispatch-related span events.
Changes
CommonAttributesinvokeProcessFn()inJsScriptEngineBinderRelated issue(s)
Fixes #1911