-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[RAC][Metrics UI] Index reason
field on inventory metric alerts
#106842
[RAC][Metrics UI] Index reason
field on inventory metric alerts
#106842
Conversation
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
reason
from the alert fieldsreason
field on inventory metric alerts
x-pack/plugins/infra/public/alerting/inventory/rule_data_formatters.ts
Outdated
Show resolved
Hide resolved
|
||
const link = '/app/metrics/inventory'; | ||
const reason = fields[ALERT_REASON] ?? ''; | ||
const link = '/app/metrics/inventory'; // FIXME? Not sure if we need to do something with this link |
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.
@afgomez At the moment we link to the default inventory page. I have created an issue for metrics team to give us the option to directly link to the specific inventory item with the flyout open #106497.
@weltenwort I see I didn't create a ticket for indexing the node information (if it is a container, pod or host), since link changes accordingly. Just created this one #106958 to index the node information and construct the link accordingly.
Co-authored-by: mgiota <giota85@gmail.com>
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!
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
…astic#106842) Co-authored-by: mgiota <giota85@gmail.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…astic#106842) Co-authored-by: mgiota <giota85@gmail.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
Closes #106513.
Replaces the generic
reason
field with an indexed field from the alert instance.Before:
After: