tulios / burrow-stats

Dashboard for burrow kafka consumer lag checking
50 stars 13 forks source link

Cannot read property 'series' of undefined #9

Open n0mer opened 7 years ago

n0mer commented 7 years ago

while running latest docker image (0.6.1), instantly getting this error:

TypeError: Cannot read property 'series' of undefined
    at t.chartData (app-de86d3a….js:8)
    at t.render (app-de86d3a….js:8)
    at c._renderValidatedComponentWithoutOwnerOrContext (common-de86d3a….js:17)
    at c._renderValidatedComponent (common-de86d3a….js:17)
    at c.performInitialMount (common-de86d3a….js:17)
    at c.mountComponent (common-de86d3a….js:17)
    at Object.mountComponent (common-de86d3a….js:2)
    at Object.updateChildren (common-de86d3a….js:17)
    at _reconcilerUpdateChildren (common-de86d3a….js:17)
    at _updateChildren (common-de86d3a….js:17)

here is my config:

{
  "consumers": [
    {
      "name": "consumer_name_1",
      "status": "https://burrow.defined.tld/v2/kafka/local/consumer/cg/status",
      "consumer_group_offset": "https://burrow.defined.tld/v2/kafka/local/consumer/cg/topic/topic-QA",
      "topic_offset": "https://burrow.defined.tld/v2/kafka/local/topic/topic-QA"
    }
  ],
  "chartOptions": {
    "scaleOverride": false,
    "scaleFontSize": 14,
    "scaleSteps": null,
    "scaleStepWidth": null,
    "scaleStartValue": null
  },
  "burrowStatsOptions": {
    "pollInterval": 10,
    "cacheBinSize": 30,
    "envLabel": "QA"
  }
}