Skip to content

feat: add support for contrpl plane tracer#8551

Open
zirain wants to merge 10 commits intoenvoyproxy:mainfrom
zirain:mp-tracer
Open

feat: add support for contrpl plane tracer#8551
zirain wants to merge 10 commits intoenvoyproxy:mainfrom
zirain:mp-tracer

Conversation

@zirain
Copy link
Member

@zirain zirain commented Mar 18, 2026

Move #7859 forward, base on @shreealt work.

@zirain zirain requested a review from a team as a code owner March 18, 2026 09:03
@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for cerulean-figolla-1f9435 canceled.

Name Link
🔨 Latest commit ddc822d
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/69bb7834e9d3ba0008bf5ab4

shreealt and others added 6 commits March 18, 2026 19:48
Signed-off-by: Shreemaan Abhishek <shreemaanabhishek@apache.org>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

❌ Patch coverage is 15.49296% with 60 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.98%. Comparing base (ed9abc9) to head (ddc822d).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
internal/traces/register.go 6.25% 60 Missing ⚠️

❌ Your patch check has failed because the patch coverage (15.49%) is below the target coverage (60.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8551      +/-   ##
==========================================
- Coverage   74.13%   73.98%   -0.15%     
==========================================
  Files         242      243       +1     
  Lines       37669    37726      +57     
==========================================
- Hits        27925    27911      -14     
- Misses       7787     7859      +72     
+ Partials     1957     1956       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: zirain <zirain2009@gmail.com>
return nil
}

if configObj.Protocol == egv1a1.HTTPProtocol {
Copy link
Contributor

Choose a reason for hiding this comment

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

The gRPC and HTTP exporter blocks are nearly identical only the exporter creation differs. Is there another way to represent that? Maybe extract the common TracerProvider setup into a helper and only branch on the exporter creation? If I am not misaken I think if configObj.Protocol is neither GRPCProtocol nor HTTPProtocol, the function will silently return nil

// Create OTLP HTTP exporter
exporter, err := otlptracehttp.New(ctx,
otlptracehttp.WithEndpoint(endpoint),
otlptracehttp.WithInsecure(),
Copy link
Contributor

@stekole stekole Mar 19, 2026

Choose a reason for hiding this comment

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

It may be worth a comment or noting somewhere that there is a TLS limitation for both http and grpc

zirain added 2 commits March 19, 2026 12:08
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
@zirain zirain added this to the v1.8.0-rc.1 Release milestone Mar 19, 2026
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.

3 participants