Skip to content

Move exporter zipkin#82

Merged
codeboten merged 19 commits intoopen-telemetry:masterfrom
NathanielRN:move-exporter-zipkin
Oct 22, 2020
Merged

Move exporter zipkin#82
codeboten merged 19 commits intoopen-telemetry:masterfrom
NathanielRN:move-exporter-zipkin

Conversation

@NathanielRN
Copy link
Copy Markdown
Contributor

Description

Moves the exporter/opentelemetry-exporter-zipkin from the core repo into the contrib repo.

The original code is being copied over from the Core repo here: https://github.com/open-telemetry/opentelemetry-python/tree/master/exporter/opentelemetry-exporter-zipkin

How Has This Been Tested?

CI tests will confirm it works correctly.

The only reason I didn't add tests yet (and I didn't plan to until we get all the packages we want in) is because the tests introduced here depend on other packages that will be coming (very soon hopefully!) in future PRs.

After the PRs with the packages are merged, I'll take the same approach I took in my large PR #47 where I got the tests to pass.

Checklist:

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

lzchen and others added 19 commits July 29, 2020 10:03
…try#1053)

As per semantic conventions, set the `telemetry.sdk` parameters.
…OINT (open-telemetry#1064)

* add support for env var: OTEL_EXPORTER_ZIPKIN_ENDPOINT
* update method signature to use url
This aligns with the specification for Resources
* Zipkin exporter report instrumentation info
* dropping support for python 3.4
…1149)

Zipkin exporter translation was setting `otel.status_code` attribute as
an integer which resulted in Otel collector rejecting the spans. This
commit casts the value to a string.
Zipkin exporter truncates tag values to a maximum length of 128
characters. This commit makes this value configurable while keeping
128 as the default value.
…open-telemetry#1168)

Zipkin annotation values are strings containing JSON documents. We
cannot have deterministic ordering of event attributes as they may come
in any order and python versions older than 3.7 don't have ordered
dicts. We extract the annotations from exported spans, parse the JSON
documents into Python dicts and then compare them.
…text (open-telemetry#1146)

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
@codeboten codeboten merged commit c373582 into open-telemetry:master Oct 22, 2020
@NathanielRN NathanielRN deleted the move-exporter-zipkin branch November 2, 2020 18:41
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.

8 participants