Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: singlestat panel and series with no data points #2460

Closed
HallsHalls opened this issue Aug 7, 2015 · 0 comments
Closed

Bug: singlestat panel and series with no data points #2460

HallsHalls opened this issue Aug 7, 2015 · 0 comments
Labels
Milestone

Comments

@HallsHalls
Copy link

response data:

[{"metric":"name","tags":{"cluster":"xxxx","running":"0","Hostname":"xxxx"},"aggregateTags":[],"dps":{}}]

and the JS ERROR
2015-08-07 10 55 00

/single stat/module.js

Line:189 :
var lastValue = _.last($scope.series[0].datapoints)[0];
// dps is null that will be error

I suggest to fix this by add judge

@torkelo torkelo changed the title single stat can not identification OpenTSDB resoponse JSON Bug: singlestat panel and series with no data points Aug 7, 2015
@torkelo torkelo added this to the 2.1.1 milestone Aug 7, 2015
@torkelo torkelo closed this as completed in c43f2bb Aug 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants