Kubesense

Pie

The Pie visualization displays data as a pie chart, useful for showing proportional breakdowns and relative distributions.

Pie Chart

When to Use

  • Showing the proportion of each category relative to the whole (e.g., log volumes by level, traffic by protocol)
  • Visualizing percentage-based distributions
  • Summarizing group-by query results

Building a Pie Panel

  1. Open the Data Explorer
  2. Select your data source (Metrics, Logs, or Traces)
  3. Configure your query with a Group By attribute (see Query Builder)
  4. Select Pie as the Panel Type in the right sidebar
  5. Click Run to render the chart

In the example above, the panel queries Logs data with count(*) aggregation, grouped by type. Each slice represents a log level (ALERT, WARNING, INFORMATION, DEBUG, etc.), and hovering over a slice reveals its count and percentage of the total.

Multiple Queries

Add multiple queries to combine data from different sources into the same pie chart. Each query is labeled alphabetically (A, B, C, etc.).

Formulas

Use formulas to create computed values from your queries. Click Add Formula and enter an expression combining your queries (e.g., A / B). See Time Series — Formulas for more details.

Panel Configuration

Panel Options

OptionDescription
NameDisplay name shown in the panel header
DescriptionOptional description for additional context

Standard Options

OptionDescription
UnitUnit formatter for the displayed values — choose from 100+ units including bytes, percentage, duration, requests/sec, and more
Color PaletteColor scheme for the pie segments

Legend Options

OptionDescription
VisibilityShow or hide the legend
PlacementPosition the legend at the Bottom or Right of the panel