Timecharts allow you to see the change in metric value over time. The amount of data visualized on a graph is dependent on the time selection selected within the Dashboard. You can aggregate metrics from multiple sources into a single line, or graph a line per combination of segment labels.
Time aggregation: For example, the average value of
sysdig_host_cpu_used_percent metric is computed for each entity over 1 hour at 1-minute intervals.
Group Rollup: For each
host_hostName the values from time
aggregation are averaged over the scope and the top 10 segments are
shown on the chart.
For information on configuring a chart, see Create a New Panel.
Types of Timecharts
Timechart look and feel can be configured under Display settings when configuring a panel.
When to Use
|Line||When quickly identifying outlier segments is important.|
When plotting a single metric over time.
|Stacked Area||When an aggregate view of segments is needed.|
|Stacked Bars||When metrics are sometimes reporting zero.|
PromQL-based panels and Form-based panels follow different rules when it comes to choosing which data sampling to use when displaying time series.
PromQL-based panels dynamically choose the appropriate sampling that satisfies an upper limit of 360 data points per query. For a 10-second granular metric such as
sysdig_container_cpu_used_percent, the below table can be used as a reference.
|Time Interval||Sampling used||Number of data points displayed|
|10 minutes||10 seconds||60 data points|
|20 minutes||10 seconds||120 data points|
|30 minutes||10 seconds||180 data points|
|40 minutes||10 seconds||240 data points|
|90 minutes||10 seconds||360 data points|
|180 minutes||1 minute||90 data points|
|1 day||10 minutes||240 data points|
|2 weeks||1 day||14 data points|
Form-based panels follow a static rule when choosing the sampling to use per query.
|Time Interval||Sampling used|
|< 20 minutes||10 seconds|
|< 2 hours||1 minute|
|< 1 day||10 minutes|
|< 14 days||1 hour|
|>= 14 days||1 days|
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.