skywalking: use header's path for entry/exit span's operation name#20452
skywalking: use header's path for entry/exit span's operation name#20452Shikugawa wants to merge 1 commit intoenvoyproxy:mainfrom
Conversation
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
|
Would you consider add new API to Then all the skywalking users needn't to set |
|
/assign |
@wbpcode Do we think that all of skywalking users want to use path name as operation name? This is why I added this option here. cc @wu-sheng |
|
Entry span, uses the path of downstream as operation name. This is my idea. |
Considering the implementation of skywalking agent (Java), I think it ok to use path as operation name for all the skywalking users by default. If some users have special needs, we should also consider extending skywalking tracer's configuration to provides additional options. |
|
Thank you for the discussions. I found that it makes sense that envoy ALWAYS use path name in skywalking tracer. As I described, we may not use arbitrary operation name here. But it is out of scope. Let me fix. |
Signed-off-by: Shikugawa <rei@tetrate.io>
f3572ef to
ca86a1f
Compare
|
I think that we should work after #20454 has been merged. It rewrites operation name to path in |
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
@wbpcode I noticed there SkyWalking relative PRs have no update from maintainers, how should we process these? |
Sorry. Now we have three pending skywalking related PR's, #20367, #20454 and this one. It's LGTM overall for me for the #20367, only need to fix the CI. (cc @Shikugawa ) |
Signed-off-by: Shikugawa rei@tetrate.io
Commit Message: skywalking: use header's path for entry/exit span's operation name
Additional Description: In Apache SkyWalking, we have a usecase to use pathname in downstream header as child span's name. This feature adds a option to achieve this requirement.
Risk Level: Low
Testing: Unit
Docs Changes: N/A
Release Notes: Required
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]
cc @wu-sheng