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

split jaeger exporter for proto/thrift #1694

Merged

Conversation

codeboten
Copy link
Contributor

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.

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

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

  • Test A

Does This PR Require a Contrib Repo Change?

Documentation in the contrib repo needs updating, but it is not a hard dependency

  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@codeboten codeboten marked this pull request as ready for review March 15, 2021 22:53
@codeboten codeboten requested review from a team, aabmass and hectorhdzg and removed request for a team March 15, 2021 22:53
@codeboten codeboten requested a review from owais March 16, 2021 15:50
alrex and others added 4 commits March 16, 2021 09:24
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.
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Member

@srikanthccv srikanthccv left a 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
Copy link
Member

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.

@codeboten codeboten merged commit f92431e into open-telemetry:main Mar 17, 2021
@codeboten codeboten deleted the codeboten/split-jaeger-exporter branch March 17, 2021 15:03
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.

5 participants