35
/charts:
36
get:
37
summary: Get a list of all charts available at the server
38
- description: >-
39
- The charts endpoint returns a summary about all charts stored in the
40
- netdata server.
38
+ description: The charts endpoint returns a summary about all charts stored in the netdata server.
39
responses:
40
'200':
41
description: An array of charts.
42
schema:
45
- type: array
46
- items:
47
- $ref: '#/definitions/chart_summary'
43
+ $ref: '#/definitions/chart_summary'
44
/chart:
45
get:
46
summary: Get info about a specific chart
65
/alarm_variables:
66
get:
67
summary: List variables available to configure alarms for a chart
72
- description: >-
73
- Returns the basic information of a chart and all the variables that can
74
- be used in alarm and template health configurations for the particular
75
- chart or family.
68
+ description: Returns the basic information of a chart and all the variables that can be used in alarm and template health configurations for the particular chart or family.
69
parameters:
70
- name: chart
71
in: query
73
required: true
74
type: string
75
format: as returned by /charts
76
+ default: system.cpu
77
responses:
78
'200':
85
- description: >-
86
- A javascript object with information about the chart and the
87
- available variables.
79
+ description: A javascript object with information about the chart and the available variables.
80
schema:
81
$ref: '#/definitions/alarm_variables'
82
'400':
84
'404':
85
description: No chart with the given id is found.
86
'500':
95
- description: >-
96
- Internal server error. This usually means the server is out of
97
- memory.
87
+ description: Internal server error. This usually means the server is out of memory.
88
/data:
89
get:
90
summary: Get collected data for a specific chart
101
- description: >-
102
- The data endpoint returns data stored in the round robin database of a
103
- chart.
91
+ description: The data endpoint returns data stored in the round robin database of a chart.
92
parameters:
93
- name: chart
94
in: query
100
default: system.cpu
101
- name: dimension
102
in: query
115
- description: >-
116
- Zero, one or more dimension ids or names, as returned by the /chart
117
- call, separated with comma or pipe. Netdata simple patterns are
118
- supported.
103
+ description: 'Zero, one or more dimension ids or names, as returned by the /chart call, separated with comma or pipe. Netdata simple patterns are supported.'
104
required: false
105
type: array
106
items:
110
allowEmptyValue: false
111
- name: after
112
in: query
128
- description: >-
129
- This parameter can either be an absolute timestamp specifying the
130
- starting point of the data to be returned, or a relative number of
131
- seconds (negative, relative to parameter: before). Netdata will
132
- assume it is a relative number if it is less that 3 years (in
133
- seconds). Netdata will adapt this parameter to the boundaries of the
134
- round robin database. The default is the beginning of the round
135
- robin database (i.e. by default netdata will attempt to return data
136
- for the entire database).
113
+ description: 'This parameter can either be an absolute timestamp specifying the starting point of the data to be returned, or a relative number of seconds (negative, relative to parameter: before). Netdata will assume it is a relative number if it is less that 3 years (in seconds). Netdata will adapt this parameter to the boundaries of the round robin database. The default is the beginning of the round robin database (i.e. by default netdata will attempt to return data for the entire database).'
114
required: true
115
type: number
116
format: integer
118
default: -600
119
- name: before
120
in: query
144
- description: >-
145
- This parameter can either be an absolute timestamp specifying the
146
- ending point of the data to be returned, or a relative number of
147
- seconds (negative), relative to the last collected timestamp.
148
- Netdata will assume it is a relative number if it is less than 3
149
- years (in seconds). Netdata will adapt this parameter to the
150
- boundaries of the round robin database. The default is zero (i.e.
151
- the timestamp of the last value collected).
121
+ description: 'This parameter can either be an absolute timestamp specifying the ending point of the data to be returned, or a relative number of seconds (negative), relative to the last collected timestamp. Netdata will assume it is a relative number if it is less than 3 years (in seconds). Netdata will adapt this parameter to the boundaries of the round robin database. The default is zero (i.e. the timestamp of the last value collected).'
122
required: false
123
type: number
124
format: integer
125
default: 0
126
- name: points
127
in: query
158
- description: >-
159
- The number of points to be returned. If not given, or it is <= 0, or
160
- it is bigger than the points stored in the round robin database for
161
- this chart for the given duration, all the available collected
162
- values for the given duration will be returned.
128
+ description: 'The number of points to be returned. If not given, or it is <= 0, or it is bigger than the points stored in the round robin database for this chart for the given duration, all the available collected values for the given duration will be returned.'
129
required: true
130
type: number
131
format: integer
133
default: 20
134
- name: group
135
in: query
170
- description: >-
171
- The grouping method. If multiple collected values are to be grouped
172
- in order to return fewer points, this parameters defines the method
173
- of grouping. methods supported "min", "max", "average", "sum",
174
- "incremental-sum". "max" is actually calculated on the absolute
175
- value collected (so it works for both positive and negative
176
- dimesions to return the most extreme value in either direction).
136
+ description: 'The grouping method. If multiple collected values are to be grouped in order to return fewer points, this parameters defines the method of grouping. methods supported "min", "max", "average", "sum", "incremental-sum". "max" is actually calculated on the absolute value collected (so it works for both positive and negative dimesions to return the most extreme value in either direction).'
137
required: true
138
type: string
139
enum:
148
allowEmptyValue: false
149
- name: gtime
150
in: query
191
- description: >-
192
- The grouping number of seconds. This is used in conjunction with
193
- group=average to change the units of metrics (ie when the data is
194
- per-second, setting gtime=60 will turn them to per-minute).
151
+ description: 'The grouping number of seconds. This is used in conjunction with group=average to change the units of metrics (ie when the data is per-second, setting gtime=60 will turn them to per-minute).'
152
required: false
153
type: number
154
format: integer
213
allowEmptyValue: true
214
- name: filename
215
in: query
259
- description: >-
260
- Add Content-Disposition: attachment; filename=<filename> header to
261
- the response, that will instruct the browser to save the response
262
- with the given filename.
216
+ description: 'Add Content-Disposition: attachment; filename=<filename> header to the response, that will instruct the browser to save the response with the given filename.'
217
required: false
218
type: string
219
allowEmptyValue: true
220
- name: tqx
221
in: query
268
- description: >-
269
- [Google Visualization
270
- API](https://developers.google.com/chart/interactive/docs/dev/implementing_data_source?hl=en)
271
- formatted parameter.
222
+ description: '[Google Visualization API](https://developers.google.com/chart/interactive/docs/dev/implementing_data_source?hl=en) formatted parameter.'
223
required: false
224
type: string
225
allowEmptyValue: true
226
responses:
227
'200':
277
- description: >-
278
- The call was successful. The response includes the data in the
279
- format requested. Swagger2.0 does not process the discriminator
280
- field to show polymorphism. The response will be one of the
281
- sub-types of the data-schema according to the chosen format, e.g.
282
- json -> data_json.
228
+ description: 'The call was successful. The response includes the data in the format requested. Swagger2.0 does not process the discriminator field to show polymorphism. The response will be one of the sub-types of the data-schema according to the chosen format, e.g. json -> data_json.'
229
schema:
230
$ref: '#/definitions/data'
231
'400':
233
'404':
234
description: No chart with the given id is found.
235
'500':
290
- description: >-
291
- Internal server error. This usually means the server is out of
292
- memory.
236
+ description: Internal server error. This usually means the server is out of memory.
237
/badge.svg:
238
get:
239
summary: Generate a SVG image for a chart (or dimension)
266
allowEmptyValue: false
267
- name: after
268
in: query
325
- description: >-
326
- This parameter can either be an absolute timestamp specifying the
327
- starting point of the data to be returned, or a relative number of
328
- seconds, to the last collected timestamp. Netdata will assume it is
329
- a relative number if it is smaller than the duration of the round
330
- robin database for this chart. So, if the round robin database is
331
- 3600 seconds, any value from -3600 to 3600 will trigger relative
332
- arithmetics. Netdata will adapt this parameter to the boundaries of
333
- the round robin database.
269
+ description: 'This parameter can either be an absolute timestamp specifying the starting point of the data to be returned, or a relative number of seconds, to the last collected timestamp. Netdata will assume it is a relative number if it is smaller than the duration of the round robin database for this chart. So, if the round robin database is 3600 seconds, any value from -3600 to 3600 will trigger relative arithmetics. Netdata will adapt this parameter to the boundaries of the round robin database.'
270
required: true
271
type: number
272
format: integer
274
default: -600
275
- name: before
276
in: query
341
- description: >-
342
- This parameter can either be an absolute timestamp specifying the
343
- ending point of the data to be returned, or a relative number of
344
- seconds, to the last collected timestamp. Netdata will assume it is
345
- a relative number if it is smaller than the duration of the round
346
- robin database for this chart. So, if the round robin database is
347
- 3600 seconds, any value from -3600 to 3600 will trigger relative
348
- arithmetics. Netdata will adapt this parameter to the boundaries of
349
- the round robin database.
277
+ description: 'This parameter can either be an absolute timestamp specifying the ending point of the data to be returned, or a relative number of seconds, to the last collected timestamp. Netdata will assume it is a relative number if it is smaller than the duration of the round robin database for this chart. So, if the round robin database is 3600 seconds, any value from -3600 to 3600 will trigger relative arithmetics. Netdata will adapt this parameter to the boundaries of the round robin database.'
278
required: false
279
type: number
280
format: integer
281
default: 0
282
- name: group
283
in: query
356
- description: >-
357
- The grouping method. If multiple collected values are to be grouped
358
- in order to return fewer points, this parameters defines the method
359
- of grouping. methods are supported "min", "max", "average", "sum",
360
- "incremental-sum". "max" is actually calculated on the absolute
361
- value collected (so it works for both positive and negative
362
- dimesions to return the most extreme value in either direction).
284
+ description: 'The grouping method. If multiple collected values are to be grouped in order to return fewer points, this parameters defines the method of grouping. methods are supported "min", "max", "average", "sum", "incremental-sum". "max" is actually calculated on the absolute value collected (so it works for both positive and negative dimesions to return the most extreme value in either direction).'
285
required: true
286
type: string
287
enum:
336
allowEmptyValue: true
337
- name: value_color
338
in: query
417
- description: >-
418
- A color to be used for the background of the label. You can set
419
- multiple using a pipe with a condition each, like this:
420
- color<value|color>value|color:null The following operators are
421
- supported: >, <, >=, <=, =, :null (to check if no value exists).
339
+ description: 'A color to be used for the background of the label. You can set multiple using a pipe with a condition each, like this: color<value|color>value|color:null The following operators are supported: >, <, >=, <=, =, :null (to check if no value exists).'
340
required: false
341
type: string
342
format: any text
343
allowEmptyValue: true
344
- name: multiply
345
in: query
428
- description: >-
429
- Multiply the value with this number for rendering it at the image
430
- (integer value required).
346
+ description: Multiply the value with this number for rendering it at the image (integer value required).
347
required: false
348
type: number
349
format: integer
350
allowEmptyValue: true
351
- name: divide
352
in: query
437
- description: >-
438
- Divide the value with this number for rendering it at the image
439
- (integer value required).
353
+ description: Divide the value with this number for rendering it at the image (integer value required).
354
required: false
355
type: number
356
format: integer
370
'404':
371
description: No chart with the given id is found.
372
'500':
459
- description: >-
460
- Internal server error. This usually means the server is out of
461
- memory.
373
+ description: Internal server error. This usually means the server is out of memory.
374
/allmetrics:
375
get:
376
summary: Get a value of all the metrics maintained by netdata
465
- description: >-
466
- The allmetrics endpoint returns the latest value of all charts and
467
- dimensions stored in the netdata server.
377
+ description: The allmetrics endpoint returns the latest value of all charts and dimensions stored in the netdata server.
378
parameters:
379
- name: format
380
in: query
416
default: 'yes'
417
- name: names
418
in: query
509
- description: >-
510
- When enabled netdata will report dimension names. When disabled
511
- netdata will report dimension IDs. The default is controlled in
512
- netdata.conf.
419
+ description: When enabled netdata will report dimension names. When disabled netdata will report dimension IDs. The default is controlled in netdata.conf.
420
required: false
421
type: string
422
enum:
425
default: 'yes'
426
- name: oldunits
427
in: query
521
- description: >-
522
- When enabled, netdata will show metric names for the default
523
- source=average as they appeared before 1.12, by using the legacy
524
- unit naming conventions.
428
+ description: 'When enabled, netdata will show metric names for the default source=average as they appeared before 1.12, by using the legacy unit naming conventions.'
429
required: false
430
type: string
431
enum:
434
default: 'yes'
435
- name: hideunits
436
in: query
533
- description: >-
534
- When enabled, netdata will not include the units in the metric
535
- names, for the default source=average.
437
+ description: 'When enabled, netdata will not include the units in the metric names, for the default source=average.'
438
required: false
439
type: string
440
enum:
443
default: 'yes'
444
- name: server
445
in: query
544
- description: >-
545
- Set a distinct name of the client querying prometheus metrics.
546
- Netdata will use the client IP if this is not set.
446
+ description: Set a distinct name of the client querying prometheus metrics. Netdata will use the client IP if this is not set.
447
required: false
448
type: string
449
format: any text
455
format: any text
456
- name: data
457
in: query
558
- description: >-
559
- Select the prometheus response data source. There is a setting in
560
- netdata.conf for the default.
458
+ description: Select the prometheus response data source. There is a setting in netdata.conf for the default.
459
required: false
460
type: string
461
enum:
471
/alarms:
472
get:
473
summary: Get a list of active or raised alarms on the server
576
- description: >-
577
- The alarms endpoint returns the list of all raised or enabled alarms on
578
- the netdata server. Called without any parameters, the raised alarms in
579
- state WARNING or CRITICAL are returned. By passing "?all", all the
580
- enabled alarms are returned.
474
+ description: 'The alarms endpoint returns the list of all raised or enabled alarms on the netdata server. Called without any parameters, the raised alarms in state WARNING or CRITICAL are returned. By passing "?all", all the enabled alarms are returned.'
475
parameters:
476
- name: all
477
in: query
487
/alarm_log:
488
get:
489
summary: Retrieves the entries of the alarm log
596
- description: >-
597
- Returns an array of alarm_log entries, with historical information on
598
- raised and cleared alarms.
490
+ description: 'Returns an array of alarm_log entries, with historical information on raised and cleared alarms.'
491
parameters:
492
- name: after
493
in: query
602
- description: >-
603
- Passing the parameter after=UNIQUEID returns all the events in the
604
- alarm log that occurred after UNIQUEID. An automated series of calls
605
- would call the interface once without after=, store the last
606
- UNIQUEID of the returned set, and give it back to get incrementally
607
- the next events.
494
+ description: 'Passing the parameter after=UNIQUEID returns all the events in the alarm log that occurred after UNIQUEID. An automated series of calls would call the interface once without after=, store the last UNIQUEID of the returned set, and give it back to get incrementally the next events.'
495
required: false
496
type: integer
497
responses:
504
/alarm_count:
505
get:
506
summary: Get an overall status of the chart
620
- description: >-
621
- Checks multiple charts with the same context and counts number of alarms
622
- with given status.
507
+ description: Checks multiple charts with the same context and counts number of alarms with given status.
508
parameters:
509
- in: query
510
name: context
534
default: RAISED
535
responses:
536
'200':
652
- description: >-
653
- An object containing a count of alarms with given status for given
654
- contexts.
537
+ description: An object containing a count of alarms with given status for given contexts.
538
schema:
539
type: array
540
items:
541
type: number
542
'500':
660
- description: >-
661
- Internal server error. This usually means the server is out of
662
- memory.
543
+ description: Internal server error. This usually means the server is out of memory.
544
/manage/health:
545
get:
665
- summary: >-
666
- Accesses the health management API to control health checks and
667
- notifications at runtime.
668
- description: >-
669
- Available from Netdata v1.12 and above, protected via bearer
670
- authorization. Especially useful for maintenance periods, the API allows
671
- you to disable health checks completely, silence alarm notifications, or
672
- Disable/Silence specific alarms that match selectors on alarm/template
673
- name, chart, context, host and family. For the simple disable/silence
674
- all scenaria, only the cmd parameter is required. The other parameters
675
- are used to define alarm selectors. For more information and examples,
676
- refer to the netdata documentation.
546
+ summary: Accesses the health management API to control health checks and notifications at runtime.
547
+ description: 'Available from Netdata v1.12 and above, protected via bearer authorization. Especially useful for maintenance periods, the API allows you to disable health checks completely, silence alarm notifications, or Disable/Silence specific alarms that match selectors on alarm/template name, chart, context, host and family. For the simple disable/silence all scenaria, only the cmd parameter is required. The other parameters are used to define alarm selectors. For more information and examples, refer to the netdata documentation.'
548
parameters:
549
- name: cmd
550
in: query
680
- description: >-
681
- DISABLE ALL: No alarm criteria are evaluated, nothing is written in
682
- the alarm log. SILENCE ALL: No notifications are sent. RESET: Return
683
- to the default state. DISABLE/SILENCE: Set the mode to be used for
684
- the alarms matching the criteria of the alarm selectors. LIST: Show
685
- active configuration.
551
+ description: 'DISABLE ALL: No alarm criteria are evaluated, nothing is written in the alarm log. SILENCE ALL: No notifications are sent. RESET: Return to the default state. DISABLE/SILENCE: Set the mode to be used for the alarms matching the criteria of the alarm selectors. LIST: Show active configuration.'
552
required: false
553
type: string
554
enum:
560
- LIST
561
- name: alarm
562
in: query
697
- description: >-
698
- The expression provided will match both `alarm` and `template`
699
- names.
563
+ description: The expression provided will match both `alarm` and `template` names.
564
type: string
565
- name: chart
566
in: query
703
- description: >-
704
- Chart ids/names, as shown on the dashboard. These will match the
705
- `on` entry of a configured `alarm`.
567
+ description: 'Chart ids/names, as shown on the dashboard. These will match the `on` entry of a configured `alarm`.'
568
type: string
569
- name: context
570
in: query
709
- description: >-
710
- Chart context, as shown on the dashboard. These will match the `on`
711
- entry of a configured `template`.
571
+ description: 'Chart context, as shown on the dashboard. These will match the `on` entry of a configured `template`.'
572
type: string
573
- name: hosts
574
in: query
707
- freebsd
708
history:
709
type: number
850
- description: >-
851
- The duration, in seconds, of the round robin database maintained by
852
- netdata.
710
+ description: 'The duration, in seconds, of the round robin database maintained by netdata.'
711
memory_mode:
712
type: string
713
description: The name of the database memory mode on the server.
714
update_every:
715
type: number
858
- description: >-
859
- The default update frequency of the netdata server. All charts have an
860
- update frequency equal or bigger than this.
716
+ description: The default update frequency of the netdata server. All charts have an update frequency equal or bigger than this.
717
charts:
718
type: object
863
- description: >-
864
- An object containing all the chart objects available at the netdata
865
- server. This is used as an indexed array. The key of each chart object
866
- is the id of the chart.
719
+ description: An object containing all the chart objects available at the netdata server. This is used as an indexed array. The key of each chart object is the id of the chart.
720
properties:
868
- key:
869
- $ref: '#/definitions/chart'
721
+ $ref: '#/definitions/chart'
722
charts_count:
723
type: number
724
description: The number of charts.
742
description: The name of the chart.
743
type:
744
type: string
893
- description: >-
894
- The type of the chart. Types are not handled by netdata. You can use
895
- this field for anything you like.
745
+ description: The type of the chart. Types are not handled by netdata. You can use this field for anything you like.
746
family:
747
type: string
898
- description: >-
899
- The family of the chart. Families are not handled by netdata. You can
900
- use this field for anything you like.
748
+ description: The family of the chart. Families are not handled by netdata. You can use this field for anything you like.
749
title:
750
type: string
751
description: The title of the chart.
752
priority:
905
- type: string
906
- description: >-
907
- The relative priority of the chart. NetData does not care about
908
- priorities. This is just an indication of importance for the chart
909
- viewers to sort charts of higher priority (lower number) closer to the
910
- top. Priority sorting should only be used among charts of the same
911
- type or family.
753
+ type: number
754
+ description: The relative priority of the chart. NetData does not care about priorities. This is just an indication of importance for the chart viewers to sort charts of higher priority (lower number) closer to the top. Priority sorting should only be used among charts of the same type or family.
755
enabled:
756
type: boolean
914
- description: >-
915
- True when the chart is enabled. Disabled charts do not currently
916
- collect values, but they may have historical values available.
757
+ description: 'True when the chart is enabled. Disabled charts do not currently collect values, but they may have historical values available.'
758
units:
759
type: string
760
description: The unit of measurement for the values of all dimensions of the chart.
761
data_url:
762
type: string
922
- description: >-
923
- The absolute path to get data values for this chart. You are expected
924
- to use this path as the base when constructing the URL to fetch data
925
- values for this chart.
763
+ description: The absolute path to get data values for this chart. You are expected to use this path as the base when constructing the URL to fetch data values for this chart.
764
chart_type:
765
type: string
766
description: The chart type.
770
- stacked
771
duration:
772
type: number
935
- description: >-
936
- The duration, in seconds, of the round robin database maintained by
937
- netdata.
773
+ description: 'The duration, in seconds, of the round robin database maintained by netdata.'
774
first_entry:
775
type: number
940
- description: >-
941
- The UNIX timestamp of the first entry (the oldest) in the round robin
942
- database.
776
+ description: The UNIX timestamp of the first entry (the oldest) in the round robin database.
777
last_entry:
778
type: number
779
description: The UNIX timestamp of the latest entry in the round robin database.
780
update_every:
781
type: number
948
- description: >-
949
- The update frequency of this chart, in seconds. One value every this
950
- amount of time is kept in the round robin database.
782
+ description: 'The update frequency of this chart, in seconds. One value every this amount of time is kept in the round robin database.'
783
dimensions:
784
type: object
953
- description: >-
954
- An object containing all the chart dimensions available for the chart.
955
- This is used as an indexed array. The key of the object the id of the
956
- dimension.
957
- properties:
958
- key:
959
- $ref: '#/definitions/dimension'
785
+ description: 'An object containing all the chart dimensions available for the chart. This is used as an indexed array. For each pair in the dictionary: the key is the id of the dimension and the value is a dictionary containing the name.'
786
+ additionalProperties:
787
+ type: object
788
+ properties:
789
+ name:
790
+ type: string
791
+ description: The name of the dimension
792
chart_variables:
793
type: object
794
properties:
963
- key:
964
- $ref: '#/definitions/chart_variables'
795
+ $ref: '#/definitions/chart_variables'
796
green:
797
type: number
798
+ nullable: 'true'
799
description: Chart health green threshold.
800
red:
801
type: number
802
+ nullable: 'true'
803
description: Chart health red threshold.
804
alarm_variables:
805
type: object
812
description: The name of the chart.
813
cnart_context:
814
type: string
982
- description: >-
983
- The context of the chart. It is shared across multiple monitored
984
- software or hardware instances and used in alarm templates.
815
+ description: The context of the chart. It is shared across multiple monitored software or hardware instances and used in alarm templates.
816
family:
817
type: string
818
description: The family of the chart.
822
chart_variables:
823
type: object
824
properties:
994
- key:
995
- $ref: '#/definitions/chart_variables'
825
+ $ref: '#/definitions/chart_variables'
826
family_variables:
827
type: object
828
properties:
850
varname2:
851
type: number
852
format: float
1023
- dimension:
1024
- type: object
1025
- properties:
1026
- name:
1027
- type: string
1028
- description: The name of the dimension.
853
data:
854
type: object
855
discriminator: format
1032
- description: >-
1033
- Response will contain the appropriate subtype, e.g. data_json depending on
1034
- the requested format.
856
+ description: 'Response will contain the appropriate subtype, e.g. data_json depending on the requested format.'
857
properties:
858
api:
859
type: number
866
description: The name of the chart.
867
update_every:
868
type: number
1047
- description: >-
1048
- The update frequency of this chart, in seconds. One value every this
1049
- amount of time is kept in the round robin database (indepedently of
1050
- the current view).
869
+ description: 'The update frequency of this chart, in seconds. One value every this amount of time is kept in the round robin database (indepedently of the current view).'
870
view_update_every:
871
type: number
1053
- description: >-
1054
- The current view appropriate update frequency of this chart, in
1055
- seconds. There is no point to request chart refreshes, using the same
1056
- settings, more frequently than this.
872
+ description: 'The current view appropriate update frequency of this chart, in seconds. There is no point to request chart refreshes, using the same settings, more frequently than this.'
873
first_entry:
874
type: number
1059
- description: >-
1060
- The UNIX timestamp of the first entry (the oldest) in the round robin
1061
- database (indepedently of the current view).
875
+ description: The UNIX timestamp of the first entry (the oldest) in the round robin database (indepedently of the current view).
876
last_entry:
877
type: number
1064
- description: >-
1065
- The UNIX timestamp of the latest entry in the round robin database
1066
- (indepedently of the current view).
878
+ description: The UNIX timestamp of the latest entry in the round robin database (indepedently of the current view).
879
after:
880
type: number
1069
- description: >-
1070
- The UNIX timestamp of the first entry (the oldest) returned in this
1071
- response.
881
+ description: The UNIX timestamp of the first entry (the oldest) returned in this response.
882
before:
883
type: number
884
description: The UNIX timestamp of the latest entry returned in this response.
885
min:
886
type: number
1077
- description: >-
1078
- The minimum value returned in the current view. This can be used to
1079
- size the y-series of the chart.
887
+ description: The minimum value returned in the current view. This can be used to size the y-series of the chart.
888
max:
889
type: number
1082
- description: >-
1083
- The maximum value returned in the current view. This can be used to
1084
- size the y-series of the chart.
890
+ description: The maximum value returned in the current view. This can be used to size the y-series of the chart.
891
dimension_names:
892
description: The dimension names of the chart as returned in the current view.
893
type: array
899
items:
900
type: string
901
latest_values:
1096
- description: >-
1097
- The latest values collected for the chart (indepedently of the current
1098
- view).
902
+ description: The latest values collected for the chart (indepedently of the current view).
903
type: array
904
items:
905
type: string
920
chart_variables:
921
type: object
922
properties:
1119
- key:
1120
- $ref: '#/definitions/chart_variables'
923
+ $ref: '#/definitions/chart_variables'
924
data_json:
925
description: Data response in json format.
926
allOf:
935
items:
936
type: string
937
data:
1135
- description: >-
1136
- The data requested, one element per sample with each element
1137
- containing the values of the dimensions described in the
1138
- labels value.
938
+ description: 'The data requested, one element per sample with each element containing the values of the dimensions described in the labels value.'
939
type: array
940
items:
941
type: number
942
description: 'The result requested, in the format requested.'
943
data_flat:
1144
- description: >-
1145
- Data response in csv / tsv / tsv-excel / ssv / ssv-comma / markdown / html
1146
- formats.
944
+ description: Data response in csv / tsv / tsv-excel / ssv / ssv-comma / markdown / html formats.
945
allOf:
946
- $ref: '#/definitions/data'
947
- properties:
962
- $ref: '#/definitions/data'
963
- properties:
964
result:
1167
- description: >-
1168
- The first inner array contains strings showing the labels of each
1169
- column, each subsequent array contains the values for each point
1170
- in time.
965
+ description: 'The first inner array contains strings showing the labels of each column, each subsequent array contains the values for each point in time.'
966
type: array
967
items:
968
type: array
969
items: {}
970
data_datatable:
1176
- description: >-
1177
- Data response in datatable / datasource formats (suitable for Google
1178
- Charts).
971
+ description: Data response in datatable / datasource formats (suitable for Google Charts).
972
allOf:
973
- $ref: '#/definitions/data'
974
- properties:
1005
items:
1006
properties:
1007
v:
1215
- description: >-
1216
- Each value in the row is represented by an object
1217
- named `c` with five v fields: data, null, null, 0,
1218
- the value. This format is fixed by the Google
1219
- Charts API.
1008
+ description: 'Each value in the row is represented by an object named `c` with five v fields: data, null, null, 0, the value. This format is fixed by the Google Charts API.'
1009
alarms:
1010
type: object
1011
properties:
1037
type: string
1038
active:
1039
type: boolean
1251
- description: >-
1252
- Will be false only if the alarm is disabled in the
1253
- configuration.
1040
+ description: Will be false only if the alarm is disabled in the configuration.
1041
disabled:
1042
type: boolean
1256
- description: >-
1257
- Whether the health check for this alarm has been disabled via
1258
- a health command API DISABLE command.
1043
+ description: Whether the health check for this alarm has been disabled via a health command API DISABLE command.
1044
silenced:
1045
type: boolean
1261
- description: >-
1262
- Whether notifications for this alarm have been silenced via a
1263
- health command API SILENCE command.
1046
+ description: Whether notifications for this alarm have been silenced via a health command API SILENCE command.
1047
exec:
1048
type: string
1049
recipient:
1208
info:
1209
type: string
1210
value:
1428
- type: string
1429
- format: nullable
1211
+ type: number
1212
+ nullable: 'true'
1213
old_value:
1431
- type: string
1432
- format: nullable
1214
+ type: number
1215
+ nullable: 'true'