Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation to support composite monitors in Alerting #4127

Merged
merged 64 commits into from
Jul 21, 2023
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
6be16dd
fix#4056 composite monitors
cwillum May 18, 2023
e77f2cb
fix#4056 composite monitors
cwillum May 20, 2023
200cba2
fix#4056 composite monitors
cwillum May 20, 2023
223712e
fix#4056 composite monitors
cwillum May 21, 2023
74f53bb
fix#4056 composite monitors
cwillum May 21, 2023
3468405
fix#4056 composite monitors
cwillum May 22, 2023
2f31c60
fix#4056 composite monitors
cwillum Jun 15, 2023
2e2b407
fix#4056 composite monitors
cwillum Jun 16, 2023
8e4e044
fix#4056 composite monitors
cwillum Jun 16, 2023
bf4a308
fix#4056 composite monitors
cwillum Jun 16, 2023
de205c4
fix#4056 composite monitors
cwillum Jun 16, 2023
675a2f2
fix#4056 composite monitors
cwillum Jun 16, 2023
2cce78f
fix#4056 composite monitors
cwillum Jun 16, 2023
60da830
fix#4056 composite monitors
cwillum Jun 19, 2023
3450ea3
fix#4056 composite monitors
cwillum Jun 20, 2023
bb9affc
fix#4056 composite monitors
cwillum Jun 20, 2023
8ec1ecf
fix#4056 composite monitors
cwillum Jun 20, 2023
2cc491b
fix#4056 composite monitors
cwillum Jun 20, 2023
c7e7ff8
fix#4056 composite monitors
cwillum Jun 21, 2023
6cfbbbc
fix#4056 composite monitors
cwillum Jun 21, 2023
0b40231
fix#4056 composite monitors
cwillum Jun 21, 2023
0fb515f
fix#4056 composite monitors
cwillum Jun 22, 2023
5299f64
fix#4056 composite monitors
cwillum Jun 22, 2023
8f3f5b9
fix#4056 composite monitors
cwillum Jun 22, 2023
106f98f
fix#4056 composite monitors
cwillum Jun 22, 2023
4d9752d
fix#4056 composite monitors
cwillum Jun 22, 2023
9e7fd9d
fix#4056 composite monitors
cwillum Jun 22, 2023
6c95f1b
fix#4056 composite monitors
cwillum Jun 23, 2023
7a180e7
fix#4056 composite monitors
cwillum Jun 23, 2023
916f358
fix#4056 composite monitors
cwillum Jul 3, 2023
014d11a
fix#4056 composite monitors
cwillum Jul 14, 2023
ba437da
fix#4056 composite monitors
cwillum Jul 14, 2023
531c0b9
fix#4056 composite monitors
cwillum Jul 18, 2023
da02419
fix#4056 composite monitors
cwillum Jul 18, 2023
f61629e
fix#4056 composite monitors
cwillum Jul 18, 2023
65158f1
fix#4056 composite monitors
cwillum Jul 18, 2023
db3d2d8
fix#4056 composite monitors
cwillum Jul 18, 2023
1391d3f
fix#4056 composite monitors
cwillum Jul 18, 2023
7859d02
fix#4056 composite monitors
cwillum Jul 19, 2023
7613775
fix#4056 composite monitors
cwillum Jul 19, 2023
79b72e2
fix#4056 composite monitors
cwillum Jul 19, 2023
4ad8c39
fix#4056 composite monitors
cwillum Jul 19, 2023
5ca7439
fix#4056 composite monitors
cwillum Jul 19, 2023
d85ac16
fix#4056 composite monitors
cwillum Jul 19, 2023
6b942a5
fix#4056 composite monitors
cwillum Jul 19, 2023
c6d0ea7
fix#4056 composite monitors
cwillum Jul 19, 2023
1b48d08
fix#4056 composite monitors
cwillum Jul 19, 2023
bc8a4f9
fix#4056 composite monitors
cwillum Jul 20, 2023
d76bd63
fix#4056 composite monitors
cwillum Jul 20, 2023
a2d7b3f
fix#4056 composite monitors
cwillum Jul 20, 2023
8453143
fix#4056 composite monitors
cwillum Jul 21, 2023
626f69a
fix#4056 composite monitors
cwillum Jul 21, 2023
12887e3
fix#4056 composite monitors
cwillum Jul 21, 2023
3b68f27
fix#4056 composite monitors
cwillum Jul 21, 2023
4b93944
fix#4056 composite monitors
cwillum Jul 21, 2023
32cc9a1
fix#4056 composite monitors
cwillum Jul 21, 2023
22f2914
fix#4056 composite monitors
cwillum Jul 21, 2023
94c7be6
fix#4056 composite monitors
cwillum Jul 21, 2023
68a1228
fix#4056 composite monitors
cwillum Jul 21, 2023
6d1bdf4
fix#4056 composite monitors
cwillum Jul 21, 2023
e435d93
fix#4056 composite monitors
cwillum Jul 21, 2023
ed7f0da
fix#4056 composite monitors
cwillum Jul 21, 2023
3806eb2
fix#4056 composite monitors
cwillum Jul 21, 2023
f2b37b9
Merge branch 'main' into fix#4056-composite-monitors
cwillum Jul 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions _observing-your-data/alerting/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ redirect_from:

# Alerting API

Use the Alerting API to programmatically create, update, and manage monitors and alerts.
Use the Alerting API to programmatically create, update, and manage monitors and alerts. For APIs that support the composite monitor specifically, see [Managing composite monitors with the API]({{site.url}}{{site.baseurl}}/observing-your-data/alerting/composite-monitors/#managing-composite-monitors-with-the-api).

---

#### Table of contents
<details closed markdown="block">
<summary>
Table of contents
</summary>
{: .text-delta }
- TOC
{:toc}

</details>

---

Expand All @@ -26,7 +30,7 @@ Introduced 1.0

Query-level monitors run the query and check whether or not the results should trigger an alert. Query-level monitors can only trigger one alert at a time. For more information about query-level monitors and bucket-level monitors, see [Create monitors]({{site.url}}{{site.baseurl}}/monitoring-plugins/alerting/monitors/).

#### Sample Request
#### Example request

```json
POST _plugins/_alerting/monitors
Expand Down Expand Up @@ -256,7 +260,7 @@ If you want to specify a timezone, you can do so by including a [cron expression

The following example creates a monitor that runs at 12:10 PM Pacific Time on the 1st day of every month.

#### Request
#### Example request

```json
{
Expand Down Expand Up @@ -635,9 +639,9 @@ Tag | Creates alerts for documents that match a multiple query with this tag app
Query by name | Creates alerts for documents matched or returned by the named query. | `query[name=<query-name>]`
Query by ID | Creates alerts for documents that were returned by the identified query. | `query[id=<query-id>]`

#### Sample Request
#### Example request

The following sample shows how to create a document-level monitor:
The following example shows how to create a document-level monitor:

```json
POST _plugins/_alerting/monitors
Expand Down
Loading