Do not display internal Alert's information on the Alert's details page
Problem to solve
At the moment, the alert details page contains all the exposed information by the GraphQL endpoint. The big chunk of attributes is GitLab's internal data and doesn't carry any useful information to our users.
Alert example
https://gitlab.com/gitlab-org/monitor/tanuki-inc/-/alert_management/84/details
Intended users
User experience goal
Display only relevant data of the alert payload.
Proposal
When implementing the alert detail table on incidents, we removed the internal-only fields. As an additional iteration, let's do the same for the alert details view to bring them closer together. At the same time, we will add details.description
and details.hosts
keys as rows within the table.
Alert issue example
https://gitlab.com/gitlab-org/monitor/tanuki-inc/-/issues/2025
The "details" param contains all the alert payload as inline JSON, which is suitable for the table representation. For example:
The raw alert payload:
{
"foo": {
"bar": "baz"
}
}
Converted to:
{ "foo.bar": "baz" }