Ai-OPs
ai-ops.com
Docs
/
Trends
/

Settings & Export

Settings & Export

Chart Settings

Click the settings icon in the toolbar to open the settings drawer. Changes apply immediately to the chart. On an existing trend, click Save in the drawer footer to persist them. On a trend you haven't saved yet, the drawer shows Done instead, and the settings are saved when you create the trend.

Sampling

Sampling controls how raw data points are aggregated when viewing large time ranges.

Window Period determines the time bucket size:

  • Auto: the system picks a window that fills the chart's width with data points, based on the visible range
  • Custom: choose a fixed window: Raw (no aggregation), 1s, 5s, 10s, 30s, 1m, 5m, 15m, or 1h

Aggregate Function reduces each window to a single value:

  • Auto: uses Mean
  • Custom: choose from Mean, Median, Last, First, Min, Max, or Sum

Fill Missing Values carries the last known value forward to fill gaps and produce a continuous line. Disabled in Raw mode.

Display

SettingRangeDefault
Show legendOn / OffOff
Legend positionTop, Bottom, Left, RightTop
Fill area under linesOn / OffOff
Fill opacity0 – 1.00.1
Line width0.5 – 5.01
Point size0 – 5.0 (0 hides points)1.5
Line smoothing0 (sharp) – 0.5 (smooth)0.15
Show eventsOn / OffOn

Exporting Data

Click the export icon in the toolbar to open the export drawer. The same export can be run from a script with the Python API Client, including a size estimate before you commit to a large range.

Configuration

  • Date range: defaults to the chart's visible range, or check Export all data to export complete history
  • Tag selection: all plotted tags are included by default; uncheck any you don't need, or add tags that aren't in the trend
  • Mode: Raw exports every data point as stored; Resampled aggregates to regular intervals (1s–1h) with a chosen aggregate function
  • Format: CSV, JSON, or Parquet
  • Split into daily files: creates one file per calendar day, packaged as a ZIP

Formats

FormatTimestampsBest for
CSVText, ISO 8601Spreadsheets and anything that reads plain text
JSONText, ISO 8601Scripts and integrations
ParquetA real timestamp columnAnalysis tools, which read it back typed rather than parsing text

Every tag you select gets a column, whether or not it has readings in the range. A tag with no data in the range appears with an empty column rather than being left out of the file.

Downloading

The download starts as soon as you confirm the export, and your browser saves it while it is still being produced. There is no waiting for a file to be built first and no second step to remember: it appears in your browser's downloads straight away and fills in as the data is read.

Because your browser owns the transfer, everything it normally does applies — pausing and resuming, and a destination you choose. Moving to another page or closing the export panel does not interrupt it.

While the export runs, the panel shows how much of the date range has been read. A large export can take several minutes, and the size is not known in advance, so your browser can only report the bytes it has received — the panel is what tells you how far through the data it is. It closes itself when the export finishes.

Very large exports are still refused before they start — see Size Limits. The check runs when you confirm, so an export that grew past the limit while the panel was open is caught then rather than half-way through.

Permission

Exporting trend data requires the Can export trend data permission, which also covers the size estimate. On upgrade it is granted to every role that can already manage trends, so nobody loses access they had. See Roles & Permissions.

Size Limits

Koios estimates the export size before starting:

ThresholdBehavior
Under 200 MBProceeds normally
200 MB – 10 GBWarning: may take a while
Over 10 GBBlocked: narrow the date range or reduce tags

The server applies the 10 GB limit to every export, including requests made through the API or the Python client, and a refused export says how large it was estimated to be. The export panel applies the same limit before you start. The warning between 200 MB and 10 GB appears only in the export panel.

Because the export is sent as it is produced, its size is no longer limited by what has to fit anywhere — the ceiling is about how long one should reasonably run. What is limited instead is how many run at once: each one occupies part of the server while it produces data, so an export started while several others are already running is refused, and the panel says so rather than starting a download that fails.

A raw export's estimate counts the readings stored in the date range. If that count cannot be completed, the server refuses the export rather than start one of unknown size: try again, or narrow the date range.

What's Next

  • Trends: overview and chart navigation
  • Traces & Axes: add tags and configure multi-axis layouts