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

sammpling: refactor to read/write model.APMEvents #5814

Merged
merged 1 commit into from
Jul 29, 2021

Conversation

axw
Copy link
Member

@axw axw commented Jul 28, 2021

Motivation/summary

Update the tail-based sampling package to read and write model.APMEvents, rather than model.Transactions and model.Spans.
This is in preparation for moving "metadata" up to APMEvent.

There is a breaking change to the tail-based sampling event storage: the "meta" byte used for identifying trace events is 'e', where we previously used 'T' for transactions and 'S' for spans. This feature is not yet GA, is not yet documented, and there will be further breaking changes; hence it is not highlighted in the changelog.

Checklist

- [ ] Update CHANGELOG.asciidoc
- [ ] Documentation has been updated

How to test these changes

N/A

Related issues

#4120

Update the tail-based sampling package to read and write
model.APMEvents, rather than model.Transactions and model.Spans.
This is in preparation for moving "metadata" up to APMEvent.
@apmmachine
Copy link
Contributor

💚 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-07-28T04:42:28.135+0000

  • Duration: 38 min 12 sec

  • Commit: 525c6e7

Test stats 🧪

Test Results
Failed 0
Passed 5969
Skipped 14
Total 5983

Trends 🧪

Image of Build Times

Image of Tests

@axw axw requested a review from a team July 28, 2021 05:44
@axw axw merged commit 96d24d4 into elastic:master Jul 29, 2021
@axw axw deleted the sampling-apmevent branch July 29, 2021 02:59
mergify bot pushed a commit that referenced this pull request Jul 29, 2021
Update the tail-based sampling package to read and write
model.APMEvents, rather than model.Transactions and model.Spans.
This is in preparation for moving "metadata" up to APMEvent.

(cherry picked from commit 96d24d4)
axw added a commit that referenced this pull request Jul 29, 2021
Update the tail-based sampling package to read and write
model.APMEvents, rather than model.Transactions and model.Spans.
This is in preparation for moving "metadata" up to APMEvent.

(cherry picked from commit 96d24d4)

Co-authored-by: Andrew Wilkins <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants