-
Notifications
You must be signed in to change notification settings - Fork 52
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
Update custom traces table with filters #2178
Conversation
Signed-off-by: Shenoy Pratik <[email protected]>
}, | ||
]; | ||
|
||
export const TRACE_TABLE_TYPE_KEY = 'TraceAnalyticsTraceTableType'; |
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.
ideally the constants are in common
only if they are shared between client (public) and server. if they are only used on one side they can go directly there
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.
That makes sense. Will keep this one here for now. Will sort out this and others in common/constants during a mini refactor.
public/components/trace_analytics/components/traces/trace_table_helpers.tsx
Outdated
Show resolved
Hide resolved
public/components/trace_analytics/components/traces/traces_custom_indices_table.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: Shenoy Pratik <[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.
In generally LGTM!
props.tracesTableMode, | ||
getTraceViewUri, | ||
openTraceFlyout, | ||
items, |
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.
nit:
React Hook useMemo has an unnecessary dependency: 'items'. Either exclude it or remove the dependency array
public/components/trace_analytics/components/traces/trace_table_helpers.tsx
Show resolved
Hide resolved
Signed-off-by: Shenoy Pratik <[email protected]>
bb121de
to
b6bc273
Compare
* update custom traces table with filters Signed-off-by: Shenoy Pratik <[email protected]> * use css truncate, resolve comments Signed-off-by: Shenoy Pratik <[email protected]> * add guards for execution_hint Signed-off-by: Shenoy Pratik <[email protected]> * update descriptions Signed-off-by: Shenoy Pratik <[email protected]> --------- Signed-off-by: Shenoy Pratik <[email protected]> (cherry picked from commit 00fd9ac) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* update custom traces table with filters * use css truncate, resolve comments * add guards for execution_hint * update descriptions --------- (cherry picked from commit 00fd9ac) Signed-off-by: Shenoy Pratik <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Sorting and Pagination push down won’t be part of this PR.
Update custom traces table with filters added below:
Functional updates:
Issues Resolved
Default table view
Table filter options
Table showing trace root spans
Table showing attributes
Demo Video
traces-table-filter.mov
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.