Skip to content

[APM] Editing APM alerts via Generic Alerting UI is not possible #65399

@smith

Description

@smith
  • Create a threshold alert for a service in APM
  • Go to Kibana > Alerts and Actions in Kibana Management
  • Click the alert name in the title
  • Click the Edit link in the upper right corner

A flyout open and then disappears and the screen goes blank.

This is in the JS console:

Uncaught TypeError: Cannot destructure property 'notifications' of '(0 , _useApmPluginContext.useApmPluginContext)(...).core' as it is undefined.

This is because we're passing in a component that's not wrapped with the needed context provider when we create the alert.

It should bring up the flyout and allow you to edit and save the alert.

We've opened #65549 with the Alerting team in order to make it so the edit action can be disabled in the Alerting UI.

The components used also use useUrlParams, which means they won't work for editing because they get data about the alert from the URL. Make it so we don't have to use this in the Alerting UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:APM - DEPRECATEDUse Team:obs-ux-infra_services.enhancementNew value added to drive a business result

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions