Skip to content

improve OTLP/gRPC connection errors#1737

Merged
MrAlias merged 3 commits intoopen-telemetry:mainfrom
paivagustavo:improve_otlpgrpc_connection_error
Mar 31, 2021
Merged

improve OTLP/gRPC connection errors#1737
MrAlias merged 3 commits intoopen-telemetry:mainfrom
paivagustavo:improve_otlpgrpc_connection_error

Conversation

@paivagustavo
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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.

🎉

Comment thread CHANGELOG.md Outdated
@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