Edit Custom Monitoring Dashboards
This section introduces how to edit a custom monitoring dashboard.
Prerequisites
You should join a cluster or a project and have the Monitoring Management permission within the cluster or the project. For more information, refer to "Cluster Roles" and "Project Roles".
Steps
Log in to the KubeSphere web console with a user who has the Monitoring Management permission and enter your cluster or project.
Click Monitoring & Alerting > Custom Monitoring in the left navigation pane.
Click the name of a custom monitoring dashboard in the list to open the custom monitoring dashboard, then click Edit Template in the upper right corner of the page.
Set the text-displayed monitoring metrics on the left side of the page.
Click to add monitoring metrics.
Parameter Description Chart Name
The name of the monitoring metric.
Unit
The unit of the metric data.
Decimal Places
The number of significant decimal places in the metric data.
Monitoring Metric
The monitoring metrics exposed by the application. You can click Monitoring Metric and then select a monitoring metric from the dropdown list, or manually enter a PromQL statement. Ensure that you have configured the application to expose monitoring metrics and have set up the monitoring exporter. For more information about PromQL expressions, see the Prometheus Documentation.
Hover the cursor over a monitoring metric, then click to delete the monitoring metric.
Hover the cursor over a monitoring metric, then click to edit the monitoring metric.
Set the monitoring charts in the monitoring chart list on the right side of the page.
Click Add Monitoring Item to add monitoring charts.
Parameter Description Graph Types
The vertical data display method of the monitoring chart, with options including Basic Chart and Stacked Chart.
Chart Colors
The color scheme of the monitoring chart, with options including Default Colors, Cool Colors, and Warm Colors.
Basic Information
User-defined name and description for the monitoring chart.
Data
The monitoring metrics displayed in the monitoring chart.
Metric Name: User-defined name for the monitoring metric.
Interval: The time interval of the data in the monitoring chart, with a value of <number><unit>, for example, 1m means the data time interval is 1 minute.
Monitoring Metric: The monitoring metrics exposed by the application. You can click Monitoring Metric and then select a monitoring metric from the dropdown list, or manually enter a PromQL statement. Ensure that you have configured the application to expose monitoring metrics and have set up the monitoring exporter. For more information about PromQL expressions, see the Prometheus Documentation.
Y Axis
Settings for the vertical axis of the monitoring chart.
Unit: The unit of the data on the vertical axis.
Decimal Places: The number of significant decimal places in the data on the vertical axis.
Hover the cursor over the monitoring chart name, then click to delete the monitoring chart.
Hover the cursor over the monitoring chart name, then click to edit the monitoring chart.
Drag on the right side to adjust the sorting of the monitoring charts.
Click Save Template in the upper right corner of the page to complete the editing.
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere
Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.