Conversation
added 5 commits
October 28, 2025 15:43
… and sort builders
… and sorting in log streams
…oved pagination and data access
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #386 +/- ##
==========================================
+ Coverage 85.63% 86.33% +0.69%
==========================================
Files 68 73 +5
Lines 5269 5612 +343
==========================================
+ Hits 4512 4845 +333
- Misses 757 767 +10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
nachiket-galileo
approved these changes
Oct 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Shortcut:
Colab example:
Description:
This PR introduce:
Out of scope (for this PR):
Tests:
Generated description
Below is a concise technical summary of the changes proposed in this PR:
graph LR LogStream_query_("LogStream.query"):::modified QueryResult_("QueryResult"):::added LogStream_get_spans_("LogStream.get_spans"):::modified LogStream_get_traces_("LogStream.get_traces"):::modified LogStream_get_sessions_("LogStream.get_sessions"):::modified LogStream_span_columns_("LogStream.span_columns"):::added ColumnCollection_("ColumnCollection"):::added LogStream_session_columns_("LogStream.session_columns"):::added LogStream_trace_columns_("LogStream.trace_columns"):::added Column_("Column"):::added text_("text"):::added LogStream_query_ -- "Wraps raw response in QueryResult for pagination support." --> QueryResult_ LogStream_get_spans_ -- "Returns QueryResult with filters and sorting for spans." --> LogStream_query_ LogStream_get_traces_ -- "Returns QueryResult with filters and sorting for traces." --> LogStream_query_ LogStream_get_sessions_ -- "Returns QueryResult with filters and sorting for sessions." --> LogStream_query_ LogStream_span_columns_ -- "Provides ColumnCollection for span columns access." --> ColumnCollection_ LogStream_session_columns_ -- "Provides ColumnCollection for session columns access." --> ColumnCollection_ LogStream_trace_columns_ -- "Provides ColumnCollection for trace columns access." --> ColumnCollection_ Column_ -- "Uses text filter builder for column text filters." --> text_ classDef added stroke:#15AA7A classDef removed stroke:#CD5270 classDef modified stroke:#EDAC4C linkStyle default stroke:#CBD5E1,font-size:13pxIntroduce a declarative system for filtering and sorting log stream data using
ColumnandColumnCollectionwrappers, which provide type-safe methods for constructing query clauses. EnhanceLogStreamquery methods to return aQueryResultobject, offering a list-like interface for results, automatic data flattening, and built-in pagination.QueryResultwrapper forLogStreamquery methods, providing a list-like interface for results, automatic flattening of nested data, and built-in pagination capabilities throughnext_page()andhas_next_page.Modified files (4)
Latest Contributors(1)
ColumnandColumnCollectionwrappers that provide methods likecontains(),greater_than(),ascending(), anddescending()based on column metadata, and underlyingTextFilter,NumberFilter,DateFilter,BooleanFilter, andSortbuilders. TheLogStreamclass integrates these by exposingspan_columns,session_columns, andtrace_columnsproperties.Modified files (20)
Latest Contributors(2)