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

[exporter/clickhouse] Update Trace SpanKind and StatusCode strings #34799

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

SpencerTorres
Copy link
Member

Description:

Trace SpanKind and StatusCode are exporting old enum values. This change will make these fields consistent with the specification.

I have marked this as a breaking change since it may affect queries that filter by these strings. There should be no change to exporter deployments, only to the read queries.

See above/below links for more information as well as a sample of the old vs new values.

Example: STATUS_CODE_ERROR -> Error

Link to tracking Issue:

Testing:

  • Updated integration tests

@SpencerTorres
Copy link
Member Author

cc @dmitryax since you're the author of the other PRs/issues related to this. Thanks!

@mwear mwear added the ready to merge Code review completed; ready to merge by maintainers label Aug 26, 2024
@mx-psi mx-psi merged commit 5cc0136 into open-telemetry:main Aug 28, 2024
163 checks passed
@github-actions github-actions bot added this to the next release milestone Aug 28, 2024
@SpencerTorres SpencerTorres deleted the upgrade-status-code branch August 29, 2024 00:25
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
open-telemetry#34799)

**Description:**

Trace `SpanKind` and `StatusCode` are exporting [old enum
values](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/04b3b9898b242c0b3b707bc043c025eb9f6f73ba/internal/coreinternal/traceutil/traceutil.go#L13-L47).
This change will make these fields consistent with the specification.

I have marked this as a breaking change since it may affect queries that
filter by these strings. There should be no change to exporter
deployments, only to the read queries.

See above/below links for more information as well as a sample of the
old vs new values.

Example: `STATUS_CODE_ERROR` -> `Error`

**Link to tracking Issue:** 

- open-telemetry/opentelemetry-collector#6250
- open-telemetry/opentelemetry-collector#6251

**Testing:**

- Updated integration tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/clickhouse ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants