Skip to content

tracing: make the tracer & tracer manager protocol independent#24866

Merged
wbpcode merged 6 commits intoenvoyproxy:mainfrom
wbpcode:dev-make-tracer-manager-protocol-independent
Jan 19, 2023
Merged

tracing: make the tracer & tracer manager protocol independent#24866
wbpcode merged 6 commits intoenvoyproxy:mainfrom
wbpcode:dev-make-tracer-manager-protocol-independent

Conversation

@wbpcode
Copy link
Copy Markdown
Member

@wbpcode wbpcode commented Jan 11, 2023

Commit Message: tracing: make the tracer & tracer manager protocol independent
Additional Description:

By previous PRs (see #15784, #16244, #16793, #17212), We had made the tracing driver protocol independent. The non-HTTP proxy could re-use the all the tracing drivers, such as skywalking, zipkin, etc.

However, the Tracer and TracerManager is still HTTP-specific and the non-HTTP proxy still need to do lots of work to add complete tracing support. And this PR try to make it's easier to add tracing for non-HTTP proxy by:

    1. make the Tracer and TracerManager protocol independent.
    1. split related utility functions to protocol independent part and protocol specific part.

Risk Level: mid.
Testing: n/a.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
@wbpcode
Copy link
Copy Markdown
Member Author

wbpcode commented Jan 11, 2023

It seems that no mainatainer is in charge of tracing. So, I can only assign this to you first. @mattklein123 🤣

wbpcode added 3 commits January 11, 2023 07:25
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
@mattklein123
Copy link
Copy Markdown
Member

Check CI and then I can have a look?

/wait

Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
@wbpcode
Copy link
Copy Markdown
Member Author

wbpcode commented Jan 14, 2023

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #24866 (comment) was created by @wbpcode.

see: more, trace.

Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked at this from a refactor perspective, not a code change perspective. From that standpoint it LGTM. I assume there are no logic changes as part of this PR? Thank you.

@wbpcode wbpcode merged commit 1ca2ee7 into envoyproxy:main Jan 19, 2023
mum4k pushed a commit to envoyproxy/nighthawk that referenced this pull request Jan 24, 2023
- Update .bazelrc --experimental_docker_image
- update envoy commit version
- update references for Envoy::Tracing::HttpTracerImpl to Envoy::Tracing::TracerImpl based on [#24866](envoyproxy/envoy#24866).

Signed-off-by: Chipmunkie <chipmunkie@users.noreply.github.com>
VishalDamgude pushed a commit to freshworks-oss/envoy that referenced this pull request Feb 2, 2023
…proxy#24866)

* tracing: make the tracer & tracer manager protocol independent

Signed-off-by: wbpcode <wangbaiping@corp.netease.com>

* fix format

Signed-off-by: wbpcode <wangbaiping@corp.netease.com>

* minor update

Signed-off-by: wbpcode <wangbaiping@corp.netease.com>

* fix build

Signed-off-by: wbpcode <wangbaiping@corp.netease.com>

* fix build 2

Signed-off-by: wbpcode <wangbaiping@corp.netease.com>

* fix build 3

Signed-off-by: wbpcode <wangbaiping@corp.netease.com>

Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants