opentelemetry-collector
opentelemetry-collector copied to clipboard
(configgrpc): configure memorylimiterextension when setting up grpc servers
Description:
This PR adds a new configgrpc option to configure a memory limiter extension to use. This allows users to leverage the new memorylimiterextension within receivers that set up a gRPC server.
Link to tracking Issue:
This is part of https://github.com/open-telemetry/opentelemetry-collector/issues/9591 and relates to https://github.com/open-telemetry/opentelemetry-collector/issues/8632
Testing:
Added new unit tests that cover the added code.
Codecov Report
Attention: Patch coverage is 89.65517%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 90.93%. Comparing base (
e696206
) to head (bde885b
). Report is 195 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
config/configgrpc/configgrpc.go | 89.65% | 2 Missing and 1 partial :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #9673 +/- ##
==========================================
- Coverage 90.93% 90.93% -0.01%
==========================================
Files 347 348 +1
Lines 18346 18408 +62
==========================================
+ Hits 16683 16739 +56
- Misses 1340 1346 +6
Partials 323 323
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR was marked stale due to lack of activity. It will be closed in 14 days.
This PR was marked stale due to lack of activity. It will be closed in 14 days.
This PR was marked stale due to lack of activity. It will be closed in 14 days.
Closed as inactive. Feel free to reopen if this PR is still being worked on.