User Tools
watchdogs:creating_a_new_metric
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| watchdogs:creating_a_new_metric [2023/03/06 16:13] – 10.91.110.100 | watchdogs:creating_a_new_metric [2023/03/06 16:16] (current) – 10.91.110.100 | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| - Highly recommend using a database querying workbench such as **DBeaver** or **MySQL Workbench** to quickly test your SQL queries, as this will also allow you to preview what data you can expect to receive. | - Highly recommend using a database querying workbench such as **DBeaver** or **MySQL Workbench** to quickly test your SQL queries, as this will also allow you to preview what data you can expect to receive. | ||
| - When your desired query is made, run the **sql_exporter** file in a terminal and observe any errors that may occur. If it runs successfully, | - When your desired query is made, run the **sql_exporter** file in a terminal and observe any errors that may occur. If it runs successfully, | ||
| + | - //Note that the **values** field is mandatory. Structure your SQL query around this.// | ||
| - Use this port number and go to http:// | - Use this port number and go to http:// | ||
| - Once your metric has been checked and it works correctly when using **sql_exporter**, | - Once your metric has been checked and it works correctly when using **sql_exporter**, | ||
watchdogs/creating_a_new_metric.1678119236.txt.gz · Last modified: 2023/03/06 16:13 by 10.91.110.100