-
Notifications
You must be signed in to change notification settings - Fork 116
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
Handling huge tracing specs #453
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Trends 🧪 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Spec so far!
General comment: How about keeping this Spec in one file to avoid getting lost in too many Spec files in general?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about keeping this Spec in one file to avoid getting lost in too many Spec files in general?
There are really multiple specs for one theme in a single PR. I'd like to separate different specs in different files. I'd expect the main navigation not to be the GitHub file viewer but the README.md. If it makes things easier, we could even add a breadcrumb to the header of each spec.
Co-authored-by: Alexander Wert <[email protected]>
Co-authored-by: Colton Myers <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks very good for just a few minor comments.
Co-authored-by: Sergey Kleyman <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Suggested an alternative wording, feel free to ignore
Co-authored-by: Alexander Wert <[email protected]>
Co-authored-by: Alexander Wert <[email protected]>
Co-authored-by: Alexander Wert <[email protected]>
Co-authored-by: Alexander Wert <[email protected]>
Co-authored-by: Alexander Wert <[email protected]>
Co-authored-by: Alexander Wert <[email protected]>
@estolfo As we discussed it actually might be useful to index |
Co-authored-by: eyalkoren <[email protected]>
💚 Build Succeeded
Expand to view the summary
Build stats
Trends 🧪 |
* First draft of handling huge tracing specs * Apply suggestions from code review Co-authored-by: Alexander Wert <[email protected]> * Implement suggestions * Update specs/agents/tracing-spans-compress.md Co-authored-by: Alexander Wert <[email protected]> * Pseudo code for how the strategies work in combination * Add composite.exact_match flag * Apply suggestions from code review Co-authored-by: Colton Myers <[email protected]> * Add breadcrumbs * Add missing table of contents link to AWS tracing spec file * Some clarifications for the destination APIs (elastic#452) * Add limit to dropped_spans_stats * Add implementation section to transaction_max_spans * Move exit span definition from destination spec to span spec * Add exit_span_min_duration spec * Apply suggestions from code review Co-authored-by: Sergey Kleyman <[email protected]> * Fix links, add clarification to max duration * Dropping fast spans requires stats * Rework transaction_max_spans implementation logic * Improve transaction_max_spans: no CAS * Apply suggestions from code review Co-authored-by: Sergey Kleyman <[email protected]> * Update specs/agents/tracing-spans-compress.md * Update specs/agents/tracing-spans-compress.md * Update specs/agents/tracing-spans-handling-huge-traces.md Co-authored-by: Trent Mick <[email protected]> * Renamed same_kind_compression_max_duration config option to span_compression_same_kind_max_duration * Added span_compression_same_kind_max_duration config option * Added span_compression_enabled config option * Update specs/agents/tracing-spans-compress.md Co-authored-by: eyalkoren <[email protected]> * Changed end to sum.us in composite sub-object * Replaced exact_match bool with compression_strategy enum * Update specs/agents/tracing-spans-compress.md Co-authored-by: eyalkoren <[email protected]> * Added outcome requirement to eligible for compression * Added outcome requirement to eligible for compression PART 2 Updated isCompressionEligible() pseudo-code * Added links from tracing-spans.md to tracing-spans-compress.md * Fixed missing isSameKind check in tryToCompressComposite() * Update specs/agents/tracing-spans-drop-fast-exit.md Co-authored-by: Alexander Wert <[email protected]> * Update specs/agents/tracing-spans-compress.md Co-authored-by: Alexander Wert <[email protected]> * Update specs/agents/tracing-spans-drop-fast-exit.md Co-authored-by: Alexander Wert <[email protected]> * Update specs/agents/tracing-spans-compress.md Co-authored-by: Alexander Wert <[email protected]> * Update specs/agents/tracing-spans-compress.md Co-authored-by: Alexander Wert <[email protected]> * Update specs/agents/tracing-spans-compress.md Co-authored-by: Alexander Wert <[email protected]> * Removed "Exit span API" requirement from tracing-spans.md * Update specs/agents/tracing-spans-drop-fast-exit.md Co-authored-by: eyalkoren <[email protected]> * reafctored file structure for handling huge traces * Update specs/agents/tracing-spans-destination.md * Update specs/agents/tracing-spans.md * Update specs/agents/tracing-spans.md Co-authored-by: Alexander Wert <[email protected]> Co-authored-by: Colton Myers <[email protected]> Co-authored-by: Trent Mick <[email protected]> Co-authored-by: eyalkoren <[email protected]> Co-authored-by: Sergey Kleyman <[email protected]> Co-authored-by: Trent Mick <[email protected]> Co-authored-by: Alexander Wert <[email protected]>
Preview
Closes #449
POC implementation for span compression: https://github.com/felixbarny/apm-agent-java/tree/compressed-spans