Sha256: 6fb4f01b684b925fc27ecaab63d73ba976208c405186539e0ae0b6df4029306e
Contents?: true
Size: 396 Bytes
Versions: 10
Compression:
Stored size: 396 Bytes
Contents
load_utility 'clear_util.rb' def collect (type, duration, call_clear = false) # Get the current collects telemetry point collects = tlm('INST HEALTH_STATUS COLLECTS') #Command the collect cmd("INST COLLECT with TYPE #{type}, DURATION #{duration}") #Wait for telemetry to update wait_check("INST HEALTH_STATUS COLLECTS == #{collects + 1}", 10) clear_collects() if call_clear end
Version data entries
10 entries across 10 versions & 1 rubygems