Module: WavefrontCli::Constants
- Included in:
- Base, EventStore, OptHandler, WavefrontCliController, WavefrontDisplay::Base
- Defined in:
- lib/wavefront-cli/constants.rb
Overview
Universal truths
Constant Summary collapse
- HUMAN_TIME_FORMAT =
'%F %T'
- HUMAN_TIME_FORMAT_MS =
'%F %T.%3N'
- 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(Dir.home).join('.wavefront').freeze
- SEARCH_SPLIT =
Split regex for searches
/\^|!\^|=|!=|~|!~/
- EVENT_STATE_DIR =
Where we store local event information
Pathname.new('/var/tmp/wavefront')