|
Issues, measure business goals, and more. Indicators are a new feature that allow you to monitor how you interact with your database. Metrics expose a set of counter gauges and histograms providing information about status and database connections. Exposed metrics include the total number of client queries executed, the total number of executed or queries, the number of active database connections, a histogram containing the duration of all client queries executed, and more. Note: A complete list of available metrics is available in the Metrics documentation. Metrics for the format Prometheus UI Expressions Query execution results in the browser Query execution results in graph format and the application architecture Landing page Data source configuration In the right sidebar Change the title field from Panel Title to Client Query with Data source query. Press save at the top and you will be asked to give your.
Dashboard a name. Change the name of the dashboard to and press save. queries executed. Represents the total number of database queries executed at the data source level. Visualizing both metrics in the same chart allows you to compare the two. Create a das photo editing servies hboard in Congratulations, you just created a dashboard to visualize the number of queries issued by clients and data sources. Your dashboard should now be accessible in . Note that you should explore the different features on offer. For example you can add more panels to the dashboard change the visualization type add annotations etc. You can also use set up automatic alerts to monitor your system. More information is available in the documentation. Optional Importing an Existing Dashboard In the previous section you created a dashboard with a single panel. In this section you import an existing dashboard that contains multiple panels.

To import a dashboard click on the Import option under the dashboard icon in the side menu. Copy and paste this file into the Import via panel input field. Click the Load button and then click Import. Importing a Dashboard You should now see a dashboard with multiple panels. You should explore the different panels and see the metrics they visualize. Summary In this tutorial you learned what an indicator is and why you should use it. How to use database metrics to integrate into existing applications. How to use collection and query data. How to use visual metric data. For further reading you can check out the following resources Metrics Documentation Tutorial for tracking using Prometheus Documentation Documentation We would love to know your thoughts on the metrics functionality. Please provide us with feedback.
|
|