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

processor/otel: deprecate service.version span tag #6131

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

axw
Copy link
Member

@axw axw commented Sep 8, 2021

Motivation/summary

Deprecate interpreting service.version as a span tag. We'll remove this in 8.0, and from then on instrumentation will have to use tracer tags (Jaeger) or resource attributes (OTel).

#4061 added support for setting service.version via Jaeger span tags. In retrospect, we should not have done this; service version should be coming through as a tracer tag, as it applies to the service as a whole and not individual spans.

Checklist

How to test these changes

N/A

Related issues

#6114 (comment)

@axw axw force-pushed the deprecate-service-version-span-attr branch from 4dc74b7 to 8616d1d Compare September 8, 2021 03:41
@axw axw marked this pull request as ready for review September 8, 2021 03:41
@axw axw requested a review from a team September 8, 2021 03:41
@apmmachine
Copy link
Contributor

apmmachine commented Sep 8, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-09-08T03:42:34.261+0000

  • Duration: 38 min 32 sec

  • Commit: 8616d1d

Test stats 🧪

Test Results
Failed 0
Passed 5900
Skipped 14
Total 5914

Trends 🧪

Image of Build Times

Image of Tests

@axw axw merged commit b6d8d64 into elastic:master Sep 8, 2021
@axw axw deleted the deprecate-service-version-span-attr branch September 8, 2021 07:36
mergify bot pushed a commit that referenced this pull request Sep 8, 2021
(cherry picked from commit b6d8d64)

# Conflicts:
#	changelogs/head.asciidoc
axw added a commit that referenced this pull request Sep 8, 2021
…6131) (#6135)

* OTel: deprecate `service.version` span tag (#6131)

(cherry picked from commit b6d8d64)

# Conflicts:
#	changelogs/head.asciidoc

* Delete head.asciidoc

Co-authored-by: Andrew Wilkins <[email protected]>
@marclop marclop added backport-skip Skip notification from the automated backport with mergify test-plan-skip labels Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-skip Skip notification from the automated backport with mergify test-plan-skip v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants