reporting.netdata_get_data¶
Get reporting data for given graphs.
List of possible graphs can be retrieved using reporting.netdata_graphs call.
For the time period of the graph either unit and page OR start and end should be used, not both.
aggregate will return aggregate available data for each graph (e.g. min, max, mean).
No Additional Items
Tuple Validation
Parameter 1: graphs
graphs
Type: array of objectArray of graph identifiers specifying which metrics to retrieve.
Must contain a minimum of 1
items
Each item of this array must be:
GraphIdentifier
Type: objectNo Additional Properties
Name
Type: enum (of string)Type of performance metric to retrieve.
cpu
: CPU usage statisticscputemp
: CPU temperature readingsdisk
: Disk I/O statisticsinterface
: Network interface statisticsload
: System load averagesprocesses
: Process count and statisticsmemory
: Memory usage statisticsuptime
: System uptimearcactualrate
: ZFS ARC actual hit ratearcrate
: ZFS ARC hit ratearcsize
: ZFS ARC cache sizearcresult
: ZFS ARC operation resultsdisktemp
: Disk temperature readingsupscharge
: UPS battery charge levelupsruntime
: UPS estimated runtimeupsvoltage
: UPS voltage readingsupscurrent
: UPS current readingsupsfrequency
: UPS frequency readingsupsload
: UPS load percentageupstemperature
: UPS temperature readings
Must be one of:
- "cpu"
- "cputemp"
- "disk"
- "interface"
- "load"
- "processes"
- "memory"
- "uptime"
- "arcactualrate"
- "arcrate"
- "arcsize"
- "arcresult"
- "disktemp"
- "upscharge"
- "upsruntime"
- "upsvoltage"
- "upscurrent"
- "upsfrequency"
- "upsload"
- "upstemperature"
Identifier
Default: nullSpecific instance identifier for the metric (e.g., device name, interface name). null
for system-wide metrics.
Must be at least 1
characters long
Parameter 2: query
query
Type: objectQuery parameters for filtering and formatting the returned data.
No Additional PropertiesUnit
Default: nullTime unit for data aggregation. null
for default aggregation.
Must be one of:
- "HOUR"
- "DAY"
- "WEEK"
- "MONTH"
- "YEAR"
Page
Type: integer Default: 1Page number for paginated results.
Value must be greater or equal to 1
Aggregate
Type: boolean Default: trueWhether to return aggregated data or raw data points.
Start
Default: nullStart timestamp for the data range. null
for default start time.
Value must be strictly greater than 0
End
Default: nullEnd timestamp for the data range. null
for current time.
Value must be strictly greater than 0
Result
Type: array of objectArray of performance data responses for each requested graph.
No Additional ItemsEach item of this array must be:
ReportingGetDataResponse
Type: objectNo Additional Properties
Name
Type: stringName of the performance metric.
Must be at least 1
characters long
Identifier
Specific instance identifier for the metric. null
for system-wide metrics.
Data
Type: arrayArray of time-series data points for the requested time period.
No Additional ItemsEach item of this array must be:
Aggregations
Type: objectStatistical aggregations of the data over the time period.
No Additional PropertiesMin
Type: objectMinimum values for each data series over the time period.
Mean
Type: objectAverage values for each data series over the time period.
Max
Type: objectMaximum values for each data series over the time period.
Start
Type: integerActual start timestamp of the returned data.
Value must be strictly greater than 0
End
Type: integerActual end timestamp of the returned data.
Value must be strictly greater than 0
Legend
Type: array of stringArray of labels describing each data series in the results.
No Additional ItemsEach item of this array must be:
Required roles: REPORTING_READ