Getting started with Yandex Monitoring
In this tutorial, you will create a dashboard with widgets displaying the Yandex Cloud resource status.
Note
Yandex Monitoring automatically creates service dashboards with widgets displaying the status of your cloud resources.
If you do not have any resources, create a ClickHouse® VM and cluster for this example.
Create a new dashboard
-
On the homepage
, click Create dashboard. -
At the top right, click
and select Heading. -
In the text field that appears, specify
Cross-service dashboard
. -
Click Save.
Headings allow you to separate dashboard sections.
-
Save the dashboard:
- At the top right, click
and select Save. - Specify the dashboard title.
- At the top right, click
Add a Yandex Compute Cloud widget
- At the top right, click
and select Graph. - Configure a new chart showing CPU load of all VMs in the folder, using Yandex Compute Cloud
cpu_usage
metric. To do this, select the following labels in the query constructor:service=Compute Cloud
name=cpu_usage
resource_id=*
resource_type=vm
- Click Execute query. The chart will appear on the page.
- At the top, next to the dashboard name, specify the widget name, e.g.,
CPU on all hosts
. - Click Apply at the top right.
- Return to the dashboard editing page by clicking the dashboard title (you specified earlier) at the top.
Add a Yandex Managed Service for ClickHouse® widget
-
Click
and select Graph. -
Configure a new chart showing the amount of free space on Yandex Managed Service for ClickHouse® cluster VMs, using
disk.free_bytes
metric. To do this, select the following labels in the query constructor:service=Managed Service for ClickHouse
name=disk.free_bytes
host=*
resource_id=*
resource_type=cluster
-
Click Execute query.
-
Specify your widget name, e.g.,
Free space on ClickHouse hosts
. -
Apply the changes and return to the dashboard editing page.
Save the new dashboard
- Change the widget size and arrange them according to your preferences.
- Click
Save at the top right.
In the end, you created a dashboard with widgets displaying the resource status for different Yandex Cloud services.
ClickHouse® is a registered trademark of ClickHouse, Inc