Skip to content

Commit

Permalink
Merge pull request #5 from statful/fix-aggregated-metrics-ep
Browse files Browse the repository at this point in the history
fix(NA): fixed aggregated metrics endpoint.
  • Loading branch information
mistic authored Aug 24, 2016
2 parents 9d07f65 + 20a438c commit c6d4285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function flush(self) {
for (var agg in self.aggregatedBuffer) {
for (var aggFreq in self.aggregatedBuffer[agg]) {
if (self.aggregatedBuffer[agg][aggFreq].buffer.length > 0) {
var aggregatedPath = self.basePath + '/aggregation/' + agg + '/freq/' + aggFreq;
var aggregatedPath = self.basePath + '/aggregation/' + agg + '/frequency/' + aggFreq;
var aggregatedOptions = buildStatfulOptions(
self.protocol, self.host, self.port, aggregatedPath, self.token, self.timeout);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "git",
"url": "https://github.com/statful/statful-client-nodejs.git"
},
"version": "4.1.0",
"version": "4.1.1",
"engines": {
"node": ">=0.8"
},
Expand Down

0 comments on commit c6d4285

Please sign in to comment.