Skip to content

Commit 41d1690

Browse files
docs: Add the documentation
1 parent 399cd6a commit 41d1690

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/content/grafana_api/alerting.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -595,14 +595,14 @@ The method includes a functionality to get a ruler group specified by the namesp
595595
#### test\_rule
596596

597597
```python
598-
def test_rule(data_query: list) -> dict
598+
def test_rule(data_queries: list) -> dict
599599
```
600600

601601
The method includes a functionality to test a rule specified by a list of datasource rule query objects
602602

603603
**Arguments**:
604604

605-
- `data_query` _list_ - Specify a list of datasource rule query objects
605+
- `data_queries` _list_ - Specify a list of datasource rule query objects
606606

607607

608608
**Raises**:
@@ -622,7 +622,7 @@ The method includes a functionality to test a rule specified by a list of dataso
622622
```python
623623
def test_datasource_uid_rule(expr: str,
624624
condition: str,
625-
data_query: list,
625+
data_queries: list,
626626
datasource_uid: str = "grafana") -> dict
627627
```
628628

@@ -632,7 +632,7 @@ The method includes a functionality to test a datasource uid rule specified by t
632632

633633
- `expr` _str_ - Specify a list of datasource rule query objects
634634
- `condition` _str_ - Specify the condition
635-
- `data_query` _list_ - Specify a list of datasource rule query objects
635+
- `data_queries` _list_ - Specify a list of datasource rule query objects
636636
- `datasource_uid` _str_ - Specify the datasource uid or recipient of the alerts (default grafana)
637637

638638

@@ -651,15 +651,15 @@ The method includes a functionality to test a datasource uid rule specified by t
651651
#### test\_backtest\_rule
652652

653653
```python
654-
def test_backtest_rule(condition: str, data_query: list) -> dict
654+
def test_backtest_rule(condition: str, data_queries: list) -> dict
655655
```
656656

657-
The method includes a functionality to test a rule specified by the condition, a list of data queries
657+
The method includes a functionality to test a rule specified by the condition and a list of data queries
658658

659659
**Arguments**:
660660

661661
- `condition` _str_ - Specify the condition
662-
- `data_query` _list_ - Specify a list of datasource rule query objects
662+
- `data_queries` _list_ - Specify a list of datasource rule query objects
663663

664664

665665
**Raises**:

0 commit comments

Comments
 (0)