Charts
KubeSphere currently supports two kinds of charts: text charts and graphs.
Text Chart
A text chart is preferable for displaying a single metric value. The editing window for the text chart is composed of two parts. The upper part displays the real-time metric value, and the lower part is for editing. You can enter a PromQL expression to fetch a single metric value.
- Chart Name: The name of the text chart.
- Unit: The metric data unit.
- Decimal Places: Accept an integer.
- Monitoring Metric: Specify a monitoring metric from the drop-down list of available Prometheus metrics.
Graph Chart
A graph chart is preferable for displaying multiple metric values. The editing window for the graph is composed of three parts. The upper part displays real-time metric values. The left part is for setting the graph theme. The right part is for editing metrics and chart descriptions.
- Chart Types: Support basic charts and bar charts.
- Graph Types: Support basic charts and stacked charts.
- Chart Colors: Change line colors.
- Chart Name: The name of the chart.
- Description: The chart description.
- Add: Add a new query editor.
- Metric Name: Legend for the line. It supports variables. For example,
{{pod}}
means using the value of the Prometheus metric labelpod
to name this line. - Interval: The step value between two data points.
- Monitoring Metric: A list of available Prometheus metrics.
- Unit: The metric data unit.
- Decimal Places: Accept an integer.
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.