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

api: move SpanKind display format impl to jaeger #758

Merged
merged 1 commit into from Mar 12, 2022

Conversation

jtescher
Copy link
Member

This format implementation is jaeger specific and not defined in the otel spec.

This format implementation is jaeger specific and not defined in the
otel spec.
@jtescher jtescher requested a review from a team as a code owner March 12, 2022 19:01
@codecov
Copy link

codecov bot commented Mar 12, 2022

Codecov Report

Merging #758 (e0fab48) into main (027c1f8) will not change coverage.
The diff coverage is 55.55%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #758   +/-   ##
=======================================
  Coverage   70.22%   70.22%           
=======================================
  Files         108      108           
  Lines        8804     8804           
=======================================
  Hits         6183     6183           
  Misses       2621     2621           
Impacted Files Coverage Δ
opentelemetry-api/src/trace/span.rs 100.00% <ø> (+15.38%) ⬆️
opentelemetry-jaeger/src/exporter/mod.rs 59.58% <55.55%> (-0.19%) ⬇️

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 027c1f8...e0fab48. Read the comment docs.

@TommyCpp
Copy link
Contributor

Is there a downside if we keep this in the APIs? I feel like this can be an implementation detail to help ppl build their implementation using the APIs.

@djc
Copy link
Contributor

djc commented Mar 12, 2022

I don't think we should keep this, it seems pretty arbitrary and the Debug impl should be enough for most people.

@jtescher jtescher merged commit 2330d43 into open-telemetry:main Mar 12, 2022
@jtescher jtescher deleted the jaeger-span-kind-format branch March 12, 2022 23:19
vibhavp pushed a commit to vibhavp/opentelemetry-rust that referenced this pull request Mar 14, 2022
This format implementation is jaeger specific and not defined in the
otel spec.
fnichol added a commit to systeminit/si that referenced this pull request Sep 20, 2022
Some notable changes:

- Upgrade to latest tracing/openteletetry dependencies:
  - opentelemetry 0.18.0
  - opentelemetry-otlp 0.11.0
  - opentelemetry-semantic-conventions 0.10.0
  - tracing-opentelemetry 0.18.0
- Due to updates in opentelemetry-api dropping some Display trait
  implementations some changes had to be made to preserve the string
  representations (in one case static strings is used, and in another
  case a wrapping unit type is used to ship a similar Display impl)

References: open-telemetry/opentelemetry-rust#758
References: tokio-rs/tracing#1218

Signed-off-by: Fletcher Nichol <fletcher@systeminit.com>
fnichol added a commit to systeminit/si that referenced this pull request Sep 20, 2022
Some notable changes:

- Upgrade to latest tracing/openteletetry dependencies:
  - opentelemetry 0.18.0
  - opentelemetry-otlp 0.11.0
  - opentelemetry-semantic-conventions 0.10.0
  - tracing-opentelemetry 0.18.0
- Due to updates in opentelemetry-api dropping some Display trait
  implementations some changes had to be made to preserve the string
  representations (in one case static strings is used, and in another
  case a wrapping unit type is used to ship a similar Display impl)

References: open-telemetry/opentelemetry-rust#758
References: tokio-rs/tracing#1218

Signed-off-by: Fletcher Nichol <fletcher@systeminit.com>
si-bors-ng bot added a commit to systeminit/si that referenced this pull request Sep 21, 2022
1295: build(deps): update Rust dependencies (2022-W39) r=nickgerace a=fnichol

Some notable changes:

- Upgrade to latest tracing/openteletetry dependencies:
  - opentelemetry 0.18.0
  - opentelemetry-otlp 0.11.0
  - opentelemetry-semantic-conventions 0.10.0
  - tracing-opentelemetry 0.18.0
- Due to updates in opentelemetry-api dropping some Display trait
  implementations some changes had to be made to preserve the string
  representations (in one case static strings is used, and in another
  case a wrapping unit type is used to ship a similar Display impl)
- The `protoc` (i.e. Protobuf compiler) is now required on build/ci/development
  systems due to updates with the tonic Rust crate

References: open-telemetry/opentelemetry-rust#758
References: tokio-rs/tracing#1218

Co-authored-by: Fletcher Nichol <fletcher@systeminit.com>
fnichol added a commit to systeminit/si that referenced this pull request Sep 21, 2022
Some notable changes:

- Upgrade to latest tracing/openteletetry dependencies:
  - opentelemetry 0.18.0
  - opentelemetry-otlp 0.11.0
  - opentelemetry-semantic-conventions 0.10.0
  - tracing-opentelemetry 0.18.0
- Due to updates in opentelemetry-api dropping some Display trait
  implementations some changes had to be made to preserve the string
  representations (in one case static strings is used, and in another
  case a wrapping unit type is used to ship a similar Display impl)

References: open-telemetry/opentelemetry-rust#758
References: tokio-rs/tracing#1218

Signed-off-by: Fletcher Nichol <fletcher@systeminit.com>
si-bors-ng bot added a commit to systeminit/si that referenced this pull request Sep 21, 2022
1295: build(deps): update Rust dependencies (2022-W39) r=fnichol a=fnichol

Some notable changes:

- Upgrade to latest tracing/openteletetry dependencies:
  - opentelemetry 0.18.0
  - opentelemetry-otlp 0.11.0
  - opentelemetry-semantic-conventions 0.10.0
  - tracing-opentelemetry 0.18.0
- Due to updates in opentelemetry-api dropping some Display trait
  implementations some changes had to be made to preserve the string
  representations (in one case static strings is used, and in another
  case a wrapping unit type is used to ship a similar Display impl)
- The `protoc` (i.e. Protobuf compiler) is now required on build/ci/development
  systems due to updates with the tonic Rust crate

References: open-telemetry/opentelemetry-rust#758
References: tokio-rs/tracing#1218

Co-authored-by: Fletcher Nichol <fletcher@systeminit.com>
@tiagolobocastro tiagolobocastro mentioned this pull request Feb 10, 2023
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.

None yet

3 participants