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

Add grpc storage plugin OTEL exporter #2229

Merged
merged 5 commits into from
May 8, 2020

Conversation

pavolloffay
Copy link
Member

Resolves #2158

Signed-off-by: Pavol Loffay <[email protected]>
@pavolloffay pavolloffay requested a review from a team as a code owner May 7, 2020 13:07
@pavolloffay pavolloffay requested review from jpkrohling and objectiser and removed request for jpkrohling May 7, 2020 13:07
Signed-off-by: Pavol Loffay <[email protected]>
@codecov
Copy link

codecov bot commented May 7, 2020

Codecov Report

Merging #2229 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2229      +/-   ##
==========================================
+ Coverage   96.16%   96.18%   +0.01%     
==========================================
  Files         219      219              
  Lines       10632    10635       +3     
==========================================
+ Hits        10224    10229       +5     
+ Misses        352      351       -1     
+ Partials       56       55       -1     
Impacted Files Coverage Δ
plugin/storage/grpc/config/config.go 0.00% <ø> (ø)
plugin/storage/grpc/options.go 100.00% <ø> (ø)
plugin/storage/grpc/factory.go 100.00% <100.00%> (ø)
cmd/query/app/server.go 94.52% <0.00%> (+2.73%) ⬆️

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 e624cea...35147a8. Read the comment docs.

Signed-off-by: Pavol Loffay <[email protected]>
Copy link
Contributor

@objectiser objectiser left a comment

Choose a reason for hiding this comment

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

LGTM - just a naming issue to ensure distinct from the gRPC used in the jaeger exporter.

Might be good to get someone familiar with the grpc plugin to also review.

@@ -28,6 +28,7 @@ import (

"github.com/jaegertracing/jaeger/cmd/opentelemetry-collector/app/exporter/cassandra"
"github.com/jaegertracing/jaeger/cmd/opentelemetry-collector/app/exporter/elasticsearch"
"github.com/jaegertracing/jaeger/cmd/opentelemetry-collector/app/exporter/grpc"
Copy link
Contributor

Choose a reason for hiding this comment

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

minor, but think the exporter should be in package grpc-plugin to avoid confusion with the jaeger-grpc protocol exporter

Copy link
Member Author

Choose a reason for hiding this comment

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

agree, I will refactor it

cmd/opentelemetry-collector/app/exporter/grpc/factory.go Outdated Show resolved Hide resolved
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
@pavolloffay pavolloffay merged commit 05cf451 into jaegertracing:master May 8, 2020
@pavolloffay pavolloffay changed the title Add grpc OTEL exporter Add grpc storage plugin OTEL exporter May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exporter for gRPC Storage Plugin
2 participants