-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Handle missing log collector for sidecar configurations. #14104
base: master
Are you sure you want to change the base?
Conversation
84e257b
to
9ae1b22
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.
Just found some smaller things we can improve, feel free to merge the PR already.
<p><strong>Examples</strong></p> | ||
<p> | ||
Find sidecars that did not communicate with Graylog since a date:<br /> | ||
<kbd>{'last_seen:<=2018-04-10'}</kbd><br /> |
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 remove {''}
here.
<OverlayTrigger trigger="click" rootClose placement="right" overlay={queryHelpPopover}> | ||
<Button bsStyle="link"><Icon name="question-circle" /></Button> | ||
</OverlayTrigger> | ||
); |
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.
Looks like we can define queryHelpPopover
and queryHelp
outside of the component.
9ae1b22
to
5c787b6
Compare
301d309
to
c3a60af
Compare
Description
Motivation and Context
This PR is fixing an issue when a sidecar configuration is referencing a log collector which is not present anymore. In this case, the Sidecar/Configuration page throws an exception and is not usable anymore.
It is currently unclear which steps can lead to a condition like this, because deleting a log collector from the frontend is not possible when it is referenced, but it was seen in the wild.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: