Sha256: 0f71bb15eed6e8b36d0bba8b548091badc6ca25efeb58f37e047e42869f6b688
Contents?: true
Size: 573 Bytes
Versions: 38
Compression:
Stored size: 573 Bytes
Contents
Shindo.tests("Fog::Joyent[:analytics] | metrics", %w{joyent}) do @analytics = Fog::Joyent[:analytics] @metrics = @analytics.metrics tests('#all').succeeds do @metrics.all end tests('#new').succeeds do @metrics.new({ "module" => "cpu", "stat" => "thread_executions", "label" => "thread executions", "interval" => "interval", "fields" => ["hostname", "zonename", "runtime"], "unit" => "operations" }) end end
Version data entries
38 entries across 36 versions & 6 rubygems