mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
This PR adds a new [extension point][] to each row of the alert instances table. This allows plugins to add actions to a dropdown menu in the rightmost column of the table. Those actions are passed the alert instance so can use it for contextual handling. See https://github.com/grafana/machine-learning/pull/3461 for an example of how this can be used (e.g. by Grafana Sift here).
3 lines
237 B
TypeScript
3 lines
237 B
TypeScript
// We might want to customise this in future but right now the toolbar menu from the Explore view is fine.
|
|
export { ToolbarExtensionPointMenu as AlertExtensionPointMenu } from 'app/features/explore/extensions/ToolbarExtensionPointMenu';
|