Sha256: 8b6469d3fb462360543175a39d8765292229b1f8ca0a113f22dfa7c7a3e21cba
Contents?: true
Size: 291 Bytes
Versions: 6
Compression:
Stored size: 291 Bytes
Contents
require 'collectd' Collectd::add_server 1 Stats = Collectd::ruby_collectd(:test) Stats.with_full_proc_stats c = 0 loop do Stats.ping(:fun).gauge = 42 + Math.sin(Time.now.to_f / 600) * 23.5 Stats.cpu(:time).counter = c c += 1 Thread.pass sleep 0.01 print '.' STDOUT.flush end
Version data entries
6 entries across 6 versions & 2 rubygems