Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
HAWKULAR-379: Fixed parameter name in rest call
Browse files Browse the repository at this point in the history
  • Loading branch information
Viliam Rockai authored and ppalaga committed Jun 24, 2015
1 parent 66e110f commit df6c706
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ module HawkularMetrics {
var promises = [];
angular.forEach(aResourceList, function(res, idx) {
promises.push(this.HawkularMetric.GaugeMetricData(tenantId).queryMetrics({
resourceId: res.id, numericId: (res.id + '.status.duration'),
resourceId: res.id, gaugeId: (res.id + '.status.duration'),
start: moment().subtract(1, 'hours').valueOf(), end: moment().valueOf()}, (resource) => {
// FIXME: Work data so it works for chart ?
res['responseTime'] = resource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ module HawkularMetrics {

if (metricId) {
this.HawkularMetric.GaugeMetricData(this.$rootScope.currentPersona.id).queryMetrics({
numericId: metricId,
gaugeId: metricId,
start: startTime,
end: endTime,
buckets: 1
Expand Down Expand Up @@ -219,7 +219,7 @@ module HawkularMetrics {

if (metricId) {
this.HawkularMetric.GaugeMetricData(this.$rootScope.currentPersona.id).queryMetrics({
numericId: metricId,
gaugeId: metricId,
start: startTime,
end: endTime,
buckets: 120
Expand Down

0 comments on commit df6c706

Please sign in to comment.