stackdriver ruby:StackDriver自定义指标的ruby客户端
StackDriver Ruby客户端将自定义指标发送到ruby客户端。用法require 'stackdriver' # One time setup api_key = "foo" StackDriver . init api_key # Send single metric value StackDriver . send_metric "test_metric" , 666 , Time . now . to_i # Send single metric value with instance id Stackdriver . send_metric "test_metric" , 666 , Time . now . to_i , "i-12345" # Send multiple metric values with instance_id Stackdriver
文件列表
stackdriver-ruby-master.zip
(预估有个7文件)
stackdriver-ruby-master
HISTORY
366B
lib
stackdriver.rb
2KB
CONTRIBS
24B
LICENSE
2KB
README.md
2KB
stackdriver.gemspec
469B
.gitignore
5B
暂无评论