Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve OTLP/gRPC connection errors #1737

Merged
merged 3 commits into from
Mar 31, 2021
Merged

improve OTLP/gRPC connection errors #1737

merged 3 commits into from
Mar 31, 2021

Conversation

paivagustavo
Copy link
Member

@paivagustavo paivagustavo commented Mar 26, 2021

Connection errors on the OTLP/gRPC exporter gives users a very enigmatic error.

This PR wraps the connection error to the error returned to the user, giving them more details to diagnose problems.

Fixes #1735

@codecov
Copy link

codecov bot commented Mar 26, 2021

Codecov Report

Merging #1737 (b5c9d4a) into main (d575865) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #1737   +/-   ##
=====================================
  Coverage   78.1%   78.2%           
=====================================
  Files        132     132           
  Lines       6948    6948           
=====================================
+ Hits        5430    5434    +4     
+ Misses      1272    1269    -3     
+ Partials     246     245    -1     
Impacted Files Coverage Δ
exporters/otlp/otlpgrpc/driver.go 90.1% <100.0%> (ø)
exporters/otlp/otlpgrpc/connection.go 90.6% <0.0%> (+3.7%) ⬆️

Copy link
Contributor

@jmacd jmacd left a comment

Choose a reason for hiding this comment

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

🎉

CHANGELOG.md Outdated Show resolved Hide resolved
@MrAlias MrAlias merged commit bf180d0 into open-telemetry:main Mar 31, 2021
@MrAlias MrAlias mentioned this pull request Apr 23, 2021
@pellared pellared added this to the untracked milestone Nov 8, 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.

otlp: want error went WithInsecure is needed
6 participants