NodeMetricsCommand constructor

NodeMetricsCommand()

Creates the node-metrics command.

Implementation

NodeMetricsCommand() {
  _addApiOptions(argParser);
  argParser
    ..addOption(
      'since',
      help:
          'Window back from now (30s, 15m, 1h, 7d) or an ISO-8601 instant. '
          'Defaults to everything retained.',
    )
    ..addOption('limit', defaultsTo: '100', help: 'Maximum samples.')
    ..addFlag(
      'json',
      negatable: false,
      help: 'Emit the raw series instead of a table.',
    );
}