Class: Luciq::ApmCLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/luciq/query_cli.rb

Constant Summary collapse

METRICS =
%w[network launch flows screen_loading frame_drop].freeze
GROUP_METRICS =
(METRICS + %w[funnels]).freeze

Instance Method Summary collapse

Instance Method Details

#funnel_createObject



320
321
322
# File 'lib/luciq/query_cli.rb', line 320

def funnel_create
  Commands::Query.new(options).apm_funnel_create
end

#funnel_deleteObject



340
341
342
# File 'lib/luciq/query_cli.rb', line 340

def funnel_delete
  Commands::Query.new(options).apm_funnel_delete
end

#funnel_eventsObject



306
307
308
# File 'lib/luciq/query_cli.rb', line 306

def funnel_events
  Commands::Query.new(options).apm_funnel_events
end

#funnel_updateObject



333
334
335
# File 'lib/luciq/query_cli.rb', line 333

def funnel_update
  Commands::Query.new(options).apm_funnel_update
end

#groupObject



266
267
268
# File 'lib/luciq/query_cli.rb', line 266

def group
  Commands::Query.new(options).apm_group
end

#groupsObject



243
244
245
# File 'lib/luciq/query_cli.rb', line 243

def groups
  Commands::Query.new(options).apm_groups
end

#occurrenceObject



293
294
295
# File 'lib/luciq/query_cli.rb', line 293

def occurrence
  Commands::Query.new(options).apm_occurrence
end