-
Notifications
You must be signed in to change notification settings - Fork 626
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
split jaeger exporter for proto/thrift #1694
split jaeger exporter for proto/thrift #1694
Conversation
exporter/opentelemetry-exporter-jaeger-thrift/examples/jaeger_exporter_example.py
Outdated
Show resolved
Hide resolved
...elemetry-exporter-jaeger-thrift/src/opentelemetry/exporter/jaeger/thrift/translate/thrift.py
Outdated
Show resolved
Hide resolved
exporter/opentelemetry-exporter-jaeger-thrift/proto/api_v2/collector.proto
Outdated
Show resolved
Hide resolved
exporter/opentelemetry-exporter-jaeger-thrift/proto/api_v2/model.proto
Outdated
Show resolved
Hide resolved
...rter/opentelemetry-exporter-jaeger-proto/src/opentelemetry/exporter/jaeger/proto/__init__.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
…/exporter/jaeger/proto/__init__.py Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Protobuf via gRPC. | ||
insecure: True if collector has no encryption or authentication | ||
credentials: Credentials for server authentication. | ||
max_tag_value_length: Max length string attribute values can have. Set to None to disable. |
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.
Does udp_split_oversized_batches
apply to proto?
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.
it does not, proto uses http
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.
LGTM. Thanks.
request = PostSpansRequest(batch=batch) | ||
self._collector_grpc_client.PostSpans(request) | ||
|
||
return SpanExportResult.SUCCESS |
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.
Out of scope for this PR. Probably we should follow up in another issue/PR. This seems to send SpanExportResult.SUCCESS
status always; we should handle failures and return the correct export status.
Description
This splits the Jaeger exporter into 3 packages to reduce the amount of dependency a user has to take on to export using their preferred serialization method:
opentelemetry-exporter-jaeger
opentelemetry-exporter-jaeger-proto
opentelemetry-exporter-jaeger-thrift
The first package adds a dependency on the other two for users that don't mind installing both exporters.
Part of #1604
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Contrib Repo Change?
Documentation in the contrib repo needs updating, but it is not a hard dependency
Checklist: