(plugin) apps::monitoring::netdata::restapi - help get-charts (#3505)

This commit is contained in:
qgarnier 2022-02-23 11:49:57 +01:00 committed by GitHub
parent 36de9af578
commit 84ae94c6d8
1 changed files with 5 additions and 6 deletions

View File

@ -84,10 +84,10 @@ sub new {
bless $self, $class;
$options{options}->add_options(arguments => {
'chart-name:s' => { name => 'chart_name' },
'chart-period:s' => { name => 'chart_period', default => '300' },
'chart-statistics:s' => { name => 'chart_statistics', default => 'average' },
'filter-metric:s' => { name => 'filter_metric' }
'chart-name:s' => { name => 'chart_name' },
'chart-period:s' => { name => 'chart_period', default => '300' },
'chart-statistics:s' => { name => 'chart_statistics', default => 'average' },
'filter-metric:s' => { name => 'filter_metric' }
});
return $self;
@ -169,7 +169,7 @@ This option is mandatory
The period in seconds on which the values are calculated
Default: 300
=item B<--chart-statistic>
=item B<--chart-statistics>
The statistic calculation method used to parse the collected data.
Can be : average, sum, min, max
@ -188,7 +188,6 @@ Warning threshold (global to all the collected metrics)
Critical threshold (global to all the collected metrics)
=back
=cut