-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Check missing server URL in ES OTEL client #2411
Conversation
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Looks good to me.
|
Codecov Report
@@ Coverage Diff @@
## master #2411 +/- ##
==========================================
- Coverage 95.56% 95.55% -0.01%
==========================================
Files 208 208
Lines 10676 10676
==========================================
- Hits 10202 10201 -1
Misses 401 401
- Partials 73 74 +1
Continue to review full report at Codecov.
|
@@ -27,6 +27,8 @@ import ( | |||
"github.com/jaegertracing/jaeger/pkg/es/config" | |||
) | |||
|
|||
var errMissingURL = fmt.Errorf("missing Elasticsearch URL") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: errors.New()
is a more idiomatic approach for completely static error messages
Signed-off-by: Pavol Loffay ploffay@redhat.com
@joe-elliott could you please review?