Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
Merge 4654860 into 6abec1f
Browse files Browse the repository at this point in the history
  • Loading branch information
imsickofmaps committed Nov 26, 2014
2 parents 6abec1f + 4654860 commit 4283618
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go_http/metrics.py
Expand Up @@ -73,4 +73,4 @@ def get_metric(self, metric, start, interval, nulls):
"interval": interval,
"nulls": nulls
}
return self._api_request("GET", "metrics", payload)
return self._api_request("GET", "metrics/", payload)
2 changes: 1 addition & 1 deletion go_http/tests/test_metrics.py
Expand Up @@ -64,7 +64,7 @@ def test_send_request(self):
adapter = RecordingAdapter(json.dumps(response))
self.session.mount(
"http://example.com/api/v1/go/"
"metrics?m=stores.store_name.metric_name.agg"
"metrics/?m=stores.store_name.metric_name.agg"
"&interval=1d&from=-30d&nulls=omit", adapter)

result = self.sender.get_metric(
Expand Down

0 comments on commit 4283618

Please sign in to comment.