Monitoring of Redis cluster, nodes and databases
In Redis cloud databases, you can monitor the status of the cluster in the dashboard:
- View cluster node utilization and database load information as graphs in the dashboard;
- view cluster-status;
- receive disk-full-notifications.
Cluster and database node metrics can also be exported in Prometheus format.
View the status of the node cluster
- In Control Panel, go to Cloud Platform → Databases.
- Open the cluster page → Monitoring tab.
- Click Cluster Server Monitoring.
- View the available cluster-node metrics.
Cluster node metrics in the control panel
View the status of the databases
- In Control Panel, go to Cloud Platform → Databases.
- Open the cluster page → Monitoring tab.
- Click Database Monitoring.
- Check out the available database metrics.
Database metrics in the control panel
View cluster status
- In Control Panel, go to Cloud Platform → Databases.
- View the status in the cluster row → Status column.
Disk fullness notifications
If the cluster disk is 80% full, a notification will automatically be sent to the account's email.
If the cluster disk is 95% full or more, the cluster will go to DISK_FULL status and will be read-only. For the cluster to work on read and write, scale cluster and select a configuration with a larger disk size.
Export metrics in Prometheus format
You can export metrics in Prometheus format and then customize monitoring and alerts for database clusters yourself. Historical information for clusters is not available — metrics are only requested in real time.
To export tags, you need to get a monitoring token. The token gives access to the metrics of all clusters in a single project pool.
In Control Panel, go to Cloud Platform → Databases.
Open the cluster page → Monitoring tab.
In the Metrics in Prometheus block, click Manage tokens.
Press Create.
Enter the name of the token.
Press Create. The token will be generated automatically.
Add to the Prometheus configuration file:
scrape_configs:
- job_name: get-metrics-from-dbaas
scrape_interval: 1m
static_configs:
- targets:
- '<pool>.dbaas.selcloud.ru'
scheme: https
authorization:
type: Bearer
credentials: <monitoring_token>Specify:
<pool>
— the pool in which the token is valid, e.g.ru-3
. The address (URL) depends on the region and pool, you can look at URL list;<monitoring_token>
is the value of the monitoring token.
The source of the metrics will appear at
http://<localhost>:9090/targets
.Specify
<localhost>
— the IP address where Prometheus is installed.Check out the available metrics-in-prometheus-format.
Metrics in Prometheus format
Prometheus-formatted metrics are provided for all clusters. A specific cluster can be found by the database cluster identifier in the ds_id
label.
- Метрики уровня инфраструктуры
- Метрики уровня приложения