reporting.netdata_get_data¶
Get reporting data for given graphs.
List of possible graphs can be retrieved using reporting.netdata_graphs call.
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 uptimearcsize: ZFS ARC cache sizedisktemp: 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"
- "arcsize"
- "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:
Statistical aggregations of the data over the time period.
Aggregations
Type: objectNo Additional Properties
Min
Type: objectMinimum value for each data series over the time period.
Each additional property must conform to the following schema
Type: numberMean
Type: objectAverage value for each data series over the time period.
Each additional property must conform to the following schema
Type: numberMax
Type: objectMaximum value for each data series over the time period.
Each additional property must conform to the following schema
Type: numberStart
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