Update README.md (#14898)
Clarify that these queries work for the `lookup` line in alerts as well.
Chris Akritidis committed
Apr 12, 2023 at 07:11 UTC
6b7c88875781e086d0221c55a5a60255ee593ecd
1 file changed
+5
-9
web/api/queries/README.md
+5
-9
@@ -1,14 +1,10 @@
1
-<!--
2
-title: "REST API for Database Queries"
3
-sidebar_label: "REST API for Database Queries"
4
-custom_edit_url: https://github.com/netdata/netdata/edit/master/web/api/queries/README.md
5
-learn_status: "Published"
6
-learn_rel_path: "Integrations/Export"
7
--->
1
+# Database queries/lookup
2
9
-# REST API for Database Queries
3
+This document explains in detail the options available to retrieve data from the Netdata timeseries database in order to configure alerts, create badges or
4
+create custom charts.
5
11
-The Netdata database can be queried with the `/api/v1/data` and `/api/v1/badge.svg` REST API methods.
6
+The Netdata database can be queried with the `/api/v1/data` and `/api/v1/badge.svg` REST API methods. The database is also queried from the `lookup` line
7
+in an [alert configuration](https://github.com/netdata/netdata/edit/master/health/REFERENCE.md).
8
9
Every data query accepts the following parameters:
10