forked from open-telemetry/opentelemetry-python
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1173 zipkin exporter v1 json support #1
Open
robwknox
wants to merge
83
commits into
master
Choose a base branch
from
1173_zipkin_exporter_v1_json_support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…RANSPORT_FORMAT_JSON/PROTOBUF vals to not overload w/ Content-Type
…ry in pyproject.toml for black
…os.environ access for retrieving env vars
…asier addition of supported API formats
….5 + a bug fix related to max_tag_value_length in the encoders
…ce_id() and encode_span_id() and base Encoder class
…not in the Sender
…exporter_v1_json_support_refactor
…kin_exporter_v1_json_support
…kin_exporter_v1_json_support
robwknox
changed the base branch from
1175_zipkin_exporter_v2_protobuf_support
to
master
November 23, 2020 21:53
…kin_exporter_v1_json_support_fix
…kin_exporter_v1_json_support
…kin_exporter_v1_json_support_fix
…kin_exporter_v1_json_support
…kin_exporter_v1_json_support
…kin_exporter_v1_json_support_fix
…kin_exporter_v1_json_support
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adds support for the Zipkin Exporter v1 API json format . Since this brings the number of supported formats to 3 (v1-json, v2-json, v2-protobuf) and with v1-thrift on the way, the PR includes notable refactoring of the exporter to introduce the concept of an Encoder.
Breaking changes
ZipkinSpanExporter()
signature changes:url
=>endpoint
to be consistent with related env varOTEL_EXPORTER_ZIPKIN_ENDPOINT
and packageDEFAULT_ENDPOINT
ipv4
=>local_node_ipv4
to more clearly denote this is for the local node endpointipv6
=>local_node_ipv6
to more clearly denote this is for the local node endpointlocal_node_port
: added. This value was being improperly parsed from theurl
when it is supposed to represent the local node listening port. Added param so that it can be passed in along with the local node ip addresses if desired.retry
removed for now to avoid confusion since the logic is not currently implemented.Not a breaking change but
ZipkinSpanExporter(service_name)
is now optional to follow spec. Default is 'unknown'.Fixes open-telemetry#1173
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Checklist: