Skip to content

feat: implement zipkin tracing#3668

Merged
zirain merged 10 commits intoenvoyproxy:mainfrom
alexandermarston:feat-zipkin-tracing
Jun 25, 2024
Merged

feat: implement zipkin tracing#3668
zirain merged 10 commits intoenvoyproxy:mainfrom
alexandermarston:feat-zipkin-tracing

Conversation

@alexandermarston
Copy link
Copy Markdown
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 <alexander.marston@imaginecurve.com>
Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>
Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>
Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>
Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>
@codecov
Copy link
Copy Markdown

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
Copy Markdown
Contributor Author

/retest

@arkodg arkodg requested review from shawnh2 and zirain June 25, 2024 15:52
Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>
Copy link
Copy Markdown
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
Copy Markdown
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
@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 <alexander.marston@imaginecurve.com>

* add zipkin tracing example

Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>

* update testdata

Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>

* update host in testdata

Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>

* update host in testdata

Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>

* lint

Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>

* handle if pointer is null

Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>

---------

Signed-off-by: Alex Marston <alexander.marston@imaginecurve.com>
Signed-off-by: bjlhlin <lihonglin1@jd.com>
typedExtensionProtocolOptions:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
Copy link
Copy Markdown
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