Skip to content

Conversation

@Warashi
Copy link
Member

@Warashi Warashi commented Jul 2, 2024

What this PR does / why we need it:

This PR modifies the envoy config to add a route to the OpenTelemetry Collector.

Which issue(s) this PR fixes:

Part of #4977

Does this PR introduce a user-facing change?:

  • How are users affected by this change:
  • Is this breaking change:
  • How to migrate (if breaking change):

@codecov
Copy link

codecov bot commented Jul 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 22.47%. Comparing base (3cdb201) to head (9b35adc).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5016   +/-   ##
=======================================
  Coverage   22.47%   22.47%           
=======================================
  Files         519      519           
  Lines       56792    56792           
=======================================
  Hits        12762    12762           
  Misses      43003    43003           
  Partials     1027     1027           

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

@Warashi Warashi enabled auto-merge (squash) July 2, 2024 03:59
Copy link
Member

@khanhtc1202 khanhtc1202 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Comment on lines +129 to +130
- match: # We want to protect the opentelemetry service with envoy ext_authz, so this route must not turn off ext_authz.
prefix: "/opentelemetry.proto.collector.trace.v1.TraceService/"
Copy link
Member

Choose a reason for hiding this comment

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

[ask] Is this it? Just to be sure.
https://github.com/open-telemetry/opentelemetry-proto/blob/ff457cecf46cf219602e587d86d66f3b8cb3efe6/opentelemetry/proto/collector/trace/v1/trace_service.proto#L30

Piped calls the rpc method in the opentelemetry.proto.collector.trace.v1.TraceService to send the data to opentelemetry-collector.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. You are right!

Copy link
Member

Choose a reason for hiding this comment

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

Thanks, I got it.

Copy link
Member

@ffjlabo ffjlabo left a comment

Choose a reason for hiding this comment

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

🚀

@Warashi Warashi merged commit 713fb03 into master Jul 8, 2024
@Warashi Warashi deleted the otel-trace-export-envoy-routing-config branch July 8, 2024 03:40
kumo-rn5s pushed a commit to kumo-rn5s/pipecd that referenced this pull request Jul 11, 2024
* Implement envoy route config for opentelemetry-collector

Signed-off-by: Shinnosuke Sawada <[email protected]>

* Add annotation for gateway to rollout when its config changes

Signed-off-by: Shinnosuke Sawada <[email protected]>

---------

Signed-off-by: Shinnosuke Sawada <[email protected]>
Signed-off-by: kumo-rn5s <[email protected]>
khanhtc1202 pushed a commit that referenced this pull request Jul 12, 2024
* Implement envoy route config for opentelemetry-collector

Signed-off-by: Shinnosuke Sawada <[email protected]>

* Add annotation for gateway to rollout when its config changes

Signed-off-by: Shinnosuke Sawada <[email protected]>

---------

Signed-off-by: Shinnosuke Sawada <[email protected]>
Signed-off-by: khanhtc1202 <[email protected]>
This was referenced Jul 18, 2024
This was referenced Jul 29, 2024
This was referenced Aug 13, 2024
@github-actions github-actions bot mentioned this pull request Aug 26, 2024
@github-actions github-actions bot mentioned this pull request Sep 10, 2024
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.

4 participants