diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ea76aedc..3cd717f1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,7 @@ x.x.x ? * Fix mappings for Table * Added support for AWS Cross-Account in CloudwatchMetricsTarget * Added `LokiTarget` +* Added `alertInstanceLabelFilter` parameter to AlertList panel 0.7.1 2024-01-12 ================ diff --git a/grafanalib/core.py b/grafanalib/core.py index 79849fea..6ce3ce9e 100644 --- a/grafanalib/core.py +++ b/grafanalib/core.py @@ -2746,6 +2746,7 @@ class AlertList(object): title = attr.ib(default="") transparent = attr.ib(default=False, validator=instance_of(bool)) alertName = attr.ib(default="", validator=instance_of(str)) + alertInstanceLabelFilter = attr.ib(default="", validator=instance_of(str)) def _map_panels(self, f): return f(self) @@ -2768,7 +2769,8 @@ def to_json_data(self): 'transparent': self.transparent, 'type': ALERTLIST_TYPE, "options": { - "alertName": self.alertName + "alertName": self.alertName, + "alertInstanceLabelFilter": self.alertInstanceLabelFilter }, }