Module: WavefrontCli::Constants

Included in:
Base, OptHandler, WavefrontCliController, WavefrontDisplay::Base
Defined in:
lib/wavefront-cli/constants.rb

Overview

Universal truths

Constant Summary collapse

HUMAN_TIME_FORMAT =
'%F %T'.freeze
HUMAN_TIME_FORMAT_MS =
'%F %T.%3N'.freeze
DEFAULT_OPTS =

The CLI will use these options if they are not supplied on the command line or in a config file.

{
  endpoint: 'metrics.wavefront.com',
  format:   :human
}.freeze
ALL_PAGE_SIZE =

How many objects to get in each request when we are asked for –all

999
DEFAULT_CONFIG =

Default configuration file

(Pathname.new(ENV['HOME']) + '.wavefront').freeze