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
Sidecar Failure Tracking View #14435
Conversation
27b0d6f
to
b73fb1b
Compare
7f1240e
to
d6e375b
Compare
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.
General approach looks good, but I have a few suggestions for changes.
I haven't tested it yet, will take some time for that tomorrow :)
...b-interface/src/components/sidecars/failure-tracking/SidecarFailureTrackingListContainer.tsx
Outdated
Show resolved
Hide resolved
...b-interface/src/components/sidecars/failure-tracking/SidecarFailureTrackingListContainer.tsx
Outdated
Show resolved
Hide resolved
...b-interface/src/components/sidecars/failure-tracking/SidecarFailureTrackingListContainer.tsx
Outdated
Show resolved
Hide resolved
graylog2-web-interface/src/components/sidecars/failure-tracking/SidecarFailureTrackingList.tsx
Outdated
Show resolved
Hide resolved
graylog2-web-interface/src/components/sidecars/failure-tracking/SidecarFailureTrackingRows.tsx
Outdated
Show resolved
Hide resolved
graylog2-web-interface/src/components/sidecars/failure-tracking/SidecarFailureTrackingRows.tsx
Outdated
Show resolved
Hide resolved
graylog2-web-interface/src/components/sidecars/failure-tracking/SidecarFailureTrackingRows.tsx
Outdated
Show resolved
Hide resolved
...2-web-interface/src/components/sidecars/failure-tracking/SidecarFailureTrackingList.test.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Laura <grotlue@users.noreply.github.com>
Co-authored-by: Laura <grotlue@users.noreply.github.com>
a846f78
to
fcba683
Compare
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.
Code-wise it looks good now, thanks for all the changes!
While testing I saw that the issue with the text for a search without results still exists:
Besides that I tested the following other features which all work as expected:
- Pagination (3 pages, also checking different page size)
- Filtering
- Sort
- Opening the error message
- Link to detail view
c62619c
to
02945e1
Compare
Thank you for testing and reviewing. I fixed the issue. |
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.
9ac712d
to
d724153
Compare
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.
The text looks good now!
However, while checking it again I realised that something is off when changing the entries per page size.
With 52 test entries
- ✅ it shows all on one page when the page is set to 100
- ❌ it shows all on one page when the page size is set to 50 (expected: 2 pages)
- ❌ it shows all on two pages when the page size is set to 25 (expected 3 pages)
Hi @grotlue, as we discussed, I removed the page size selector as in this case, it does not make sense since we are listing collectors state and not just sidecars. |
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.
Let's merge this! (once the build is green)
Hi @ousmaneo can you confirm for me which version (and backports if any) this was released to? I don't see anything about this in the Release Announcements |
Hi @williamtrelawny this was merged and released with 5.1.0-beta.1. And does not have any backports. |
Before, to know why your sidecar collectors are failing you have to go through 3 steps per sidecar/collector:
The previous solution is not optimal if you have hundreds of sidecars with many collectors failing.
In this PR we implemented a new view for Sidecar Failure Tracking to provide all the useful information about failure reasons in one view, that can help decrease troubleshooting time.
Motivation and Context
fixes Graylog2/collector-sidecar#433
Types of changes
Checklist: