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). .. examples(websocket):: Get graph data of "nfsstat" from the last hour. :::javascript { "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "method": "reporting.netdata_get_data", "params": [ [{"name": "cpu"}], {"unit": "HOURLY"}, ] } .. raw:: html
Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: graphs

graphs

Type: array of object

Must contain a minimum of 1 items

No Additional Items
Each item of this array must be:

GraphIdentifier

Type: object
No Additional Properties

Name

Type: enum (of string)
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: null

Type: string

Must be at least 1 characters long

Type: null
Parameter 2: query

query

Type: object
No Additional Properties

Unit

Default: null

Type: enum (of string)
Must be one of:
  • "HOUR"
  • "DAY"
  • "WEEK"
  • "MONTH"
  • "YEAR"
Type: null

Page

Type: integer Default: 1

Value must be greater or equal to 1

Aggregate

Type: boolean Default: true

Start

Default: null

Type: integer

Value must be strictly greater than 0

Type: null

End

Default: null

Type: integer

Value must be strictly greater than 0

Type: null

Result

Type: array of object
No Additional Items
Each item of this array must be:

ReportingGetDataResponse

Type: object
No Additional Properties

Name

Type: string

Must be at least 1 characters long

Identifier


Type: string
Type: null

Data

Type: array
No Additional Items
Each item of this array must be:
Type: object

Aggregations

Type: object
No Additional Properties

Min

Type: object

Mean

Type: object

Max

Type: object

Start

Type: integer

Value must be strictly greater than 0

End

Type: integer

Value must be strictly greater than 0

Legend

Type: array of string
No Additional Items
Each item of this array must be:
Type: string


*Required roles:* REPORTING_READ