Skip to content
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

feat: implement zipkin tracing #3668

Merged
merged 10 commits into from
Jun 25, 2024

Conversation

alexandermarston
Copy link
Contributor

What type of PR is this?
feat: implement zipkin tracing

What this PR does / why we need it:
This PR adds support for the Zipkin tracer.

Which issue(s) this PR fixes:
Fixes #1827

API Change: #3630

@alexandermarston alexandermarston requested a review from a team as a code owner June 24, 2024 18:32
Signed-off-by: Alex Marston <[email protected]>
Signed-off-by: Alex Marston <[email protected]>
Signed-off-by: Alex Marston <[email protected]>
Signed-off-by: Alex Marston <[email protected]>
Copy link

codecov bot commented Jun 24, 2024

Codecov Report

Attention: Patch coverage is 96.87500% with 1 line in your changes missing coverage. Please review.

Project coverage is 68.33%. Comparing base (68463d2) to head (3993125).

Files Patch % Lines
internal/xds/translator/tracing.go 96.77% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3668      +/-   ##
==========================================
+ Coverage   68.28%   68.33%   +0.04%     
==========================================
  Files         170      170              
  Lines       20760    20780      +20     
==========================================
+ Hits        14175    14199      +24     
+ Misses       5566     5563       -3     
+ Partials     1019     1018       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alexandermarston
Copy link
Contributor Author

/retest

@arkodg arkodg requested review from zirain and shawnh2 June 25, 2024 15:52
Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks !

@arkodg arkodg requested review from a team June 25, 2024 19:55
Copy link
Member

@zirain zirain left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for adding this,
Would be better to add e2e test in the following.

@zirain zirain merged commit 77f956c into envoyproxy:main Jun 25, 2024
23 checks passed
@alexandermarston alexandermarston deleted the feat-zipkin-tracing branch June 26, 2024 07:23
bjlhlin pushed a commit to bjlhlin/gateway that referenced this pull request Jun 26, 2024
* feat: initial zipkin tracing support

Signed-off-by: Alex Marston <[email protected]>

* add zipkin tracing example

Signed-off-by: Alex Marston <[email protected]>

* update testdata

Signed-off-by: Alex Marston <[email protected]>

* update host in testdata

Signed-off-by: Alex Marston <[email protected]>

* update host in testdata

Signed-off-by: Alex Marston <[email protected]>

* lint

Signed-off-by: Alex Marston <[email protected]>

* handle if pointer is null

Signed-off-by: Alex Marston <[email protected]>

---------

Signed-off-by: Alex Marston <[email protected]>
Signed-off-by: bjlhlin <[email protected]>
typedExtensionProtocolOptions:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
Copy link
Member

Choose a reason for hiding this comment

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

this's not right, zipkin is HTTP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable selecting zipkin tracing provider
3 participants