mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
more instrumentation stuff
This commit is contained in:
parent
df73f445d7
commit
62bb091fd3
2 changed files with 31 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
|||
module Fog
|
||||
module Joyent
|
||||
class Analytics
|
||||
class Real
|
||||
def create_instrumentation(values = {})
|
||||
request(
|
||||
:path => "#{@joyent_username}/analytics/instrumentations",
|
||||
:method => "POST",
|
||||
:body => values,
|
||||
:expects => 200
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,15 @@
|
|||
module Fog
|
||||
module Joyent
|
||||
class Analytics
|
||||
class Real
|
||||
def get_instrumentation(id)
|
||||
request(
|
||||
:path => "#{@joyent_username}/analytics/instrumentations/#{id}",
|
||||
:method => "GET",
|
||||
:expects => 200
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Reference in a new issue