Skip to content

Fix OTLP receiver Shutdown() bug#2564

Merged
tigrannajaryan merged 1 commit intoopen-telemetry:mainfrom
bogdandrutu:otlpshutdown
Mar 1, 2021
Merged

Fix OTLP receiver Shutdown() bug#2564
tigrannajaryan merged 1 commit intoopen-telemetry:mainfrom
bogdandrutu:otlpshutdown

Conversation

@bogdandrutu
Copy link
Copy Markdown
Member

@bogdandrutu bogdandrutu commented Feb 26, 2021

Ensure that the receiver finishes all ongoing requests, and does not accept any new request after shutdown is finished.

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 26, 2021

Codecov Report

Merging #2564 (be06780) into main (5459e31) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2564      +/-   ##
==========================================
- Coverage   91.71%   91.69%   -0.03%     
==========================================
  Files         267      267              
  Lines       15107    15107              
==========================================
- Hits        13856    13852       -4     
- Misses        868      871       +3     
- Partials      383      384       +1     
Impacted Files Coverage Δ
receiver/otlpreceiver/otlp.go 92.00% <100.00%> (ø)
exporter/exporterhelper/metricshelper.go 94.59% <0.00%> (-5.41%) ⬇️
exporter/otlpexporter/otlp.go 71.79% <0.00%> (-2.57%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5459e31...be06780. Read the comment docs.

@tigrannajaryan
Copy link
Copy Markdown
Member

This is good, let's move forward with this.

@bogdandrutu bogdandrutu marked this pull request as ready for review March 1, 2021 15:05
@bogdandrutu bogdandrutu requested a review from a team March 1, 2021 15:05
Ensure that the receiver finishes all ongoing requests, and does not accept any new request after shutdown is finished.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@tigrannajaryan tigrannajaryan merged commit ed74d6b into open-telemetry:main Mar 1, 2021
@tigrannajaryan
Copy link
Copy Markdown
Member

Good job with the commit message :-)

@bogdandrutu bogdandrutu deleted the otlpshutdown branch March 1, 2021 22:18
This was referenced Mar 11, 2021
This was referenced Mar 15, 2021
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this pull request Apr 27, 2023
Troels51 pushed a commit to Troels51/opentelemetry-collector that referenced this pull request Jul 5, 2024
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