Skip to content

trace: do not block connecting to OTLP endpoint#10882

Merged
milas merged 1 commit into
docker:v2from
milas:fix-otel-block
Aug 8, 2023
Merged

trace: do not block connecting to OTLP endpoint#10882
milas merged 1 commit into
docker:v2from
milas:fix-otel-block

Conversation

@milas

@milas milas commented Aug 4, 2023

Copy link
Copy Markdown
Contributor

What I did
Remove the call to enable blocking when doing the gRPC dial for OTel.

This was left over from debugging, but we should not block. OTel will handle the connection in the background.

(not mandatory) A picture of a cute animal, if possible in relation to what you did
a bunch of buffalo blocking a car from moving

@milas
milas requested review from a team, StefanScherer, glours, laurazard, ndeloof, nicksieger and ulyssessouza and removed request for a team August 4, 2023 21:07
@codecov

codecov Bot commented Aug 4, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage has no change and project coverage change: -0.04% ⚠️

Comparison is base (fd8ab2f) 58.81% compared to head (1bd6458) 58.77%.

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10882      +/-   ##
==========================================
- Coverage   58.81%   58.77%   -0.04%     
==========================================
  Files         120      120              
  Lines       10454    10453       -1     
==========================================
- Hits         6148     6144       -4     
- Misses       3706     3708       +2     
- Partials      600      601       +1     
Files Changed Coverage Δ
internal/tracing/docker_context.go 23.80% <ø> (+0.37%) ⬆️

... and 4 files with indirect coverage changes

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

This was left over from debugging, but we should not block.
OTel will handle the connection in the background.

Signed-off-by: Milas Bowman <[email protected]>
@milas
milas merged commit 0be8e4a into docker:v2 Aug 8, 2023
@milas
milas deleted the fix-otel-block branch August 8, 2023 19:47
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.

2 participants