mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: support label matcher syntax in alert rule list filter (#36408)
* Add filter parsing to rule list filters * Add unit tests for label parsing * Make label operators an enum * add example for parsing function * Update labels operator regex * Add tests to rule list for filtering * add additional test for testing alert instances filtering * Use tooltip for query syntax example * refactor to use Matchers for filtering * Update docs for label filtering on rules list * style fixes
This commit is contained in:
@@ -128,7 +128,6 @@ export interface QueryResultBase {
|
||||
export interface Labels {
|
||||
[key: string]: string;
|
||||
}
|
||||
|
||||
export interface Column {
|
||||
text: string; // For a Column, the 'text' is the field name
|
||||
filterable?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user