-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
slate = Slate.configure do |config|
config.endpoint = "http://10.6.199.66:443"
end
graph = Slate::Graph.new(slate)
graph << Slate::Target.build("stats.gauges.importer.goal.30_minutes")
graph << Slate::Target.build("stats.gauges.importer.success.30_minutes")
graph.from = from_date
data = JSON.parse(graph.download(:json))putting a 'ap' inside Faraday reveals the following request object:
{
:body => nil,
:path => "http://10.6.199.66:443/render",
:method => :get,
:headers => {
"User-Agent" => "Faraday v0.8.9"
},
:params => {
"target" => "stats.gauges.importer.success.30_minutes",
"format" => "json"
},
:options => {
:timeout => 10,
:proxy => nil
}
}
Faraday is only taking the last value of the target param.
Metadata
Metadata
Assignees
Labels
No labels