pthread_rwlock_rdlock(&rrdset_root_rwlock);
for(st = rrdset_root, c = 0; st ; st = st->next) {
- if(st->enabled) {
+ if(st->enabled && st->dimensions) {
if(c) buffer_strcat(wb, ",");
buffer_strcat(wb, "\n\t\t\"");
buffer_strcat(wb, st->id);
pthread_rwlock_rdlock(&rrdset_root_rwlock);
for(st = rrdset_root, c = 0; st ; st = st->next) {
- if(st->enabled) {
+ if(st->enabled && st->dimensions) {
if(c) buffer_strcat(wb, ",\n");
memory += rrd_stats_one_json(st, NULL, wb);
c++;