tulios / burrow-stats

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

Consumer Lag and Partitons Lag do not display unless all consumers are running #4

Open petergdoyle opened 8 years ago

petergdoyle commented 8 years ago

Unless all specified consumers are running, the Consumers Lag and Partitions Lag view are not displaying anything? Status shows consumer groups that are currently active but unless they are all active/available nothing displays in the other two views.

configs.json:


{
  "consumers": [
{ "name": "splash_csv_console_listener_1", "status": "http://localhost:8000/v2/kafka/local/consumer/splash_csv_console_listener_1/status", "consumer_group_offset": "http://localhost:8000/v2/kafka/local/consumer/splash_csv_console_listener_1/topic/splash_csv", "topic_offset": "http://localhost:8000/v2/kafka/local/topic/splash_csv" }
,
{ "name": "splash_json_console_listener_1", "status": "http://localhost:8000/v2/kafka/local/consumer/splash_json_console_listener_1/status", "consumer_group_offset": "http://localhost:8000/v2/kafka/local/consumer/splash_json_console_listener_1/topic/splash_json", "topic_offset": "http://localhost:8000/v2/kafka/local/topic/splash_json" }
,
{ "name": "splash_csv_json_converter", "status": "http://localhost:8000/v2/kafka/local/consumer/splash_csv_json_converter/status", "consumer_group_offset": "http://localhost:8000/v2/kafka/local/consumer/splash_csv_json_converter/topic/splash_csv", "topic_offset": "http://localhost:8000/v2/kafka/local/topic/splash_csv" }
,
{ "name": "splash_json_couchbase_loader", "status": "http://localhost:8000/v2/kafka/local/consumer/splash_json_couchbase_loader/status", "consumer_group_offset": "http://localhost:8000/v2/kafka/local/consumer/splash_json_couchbase_loader/topic/splash_json", "topic_offset": "http://localhost:8000/v2/kafka/local/topic/splash_json" }
  ],
  "chartOptions": {
    "scaleOverride": false,
    "scaleFontSize": 14,
    "scaleSteps": null,
    "scaleStepWidth": null,
    "scaleStartValue": null
  },
  "burrowStatsOptions": {
    "pollInterval": 60,
    "cacheBinSize": 60
  }
}
tulios commented 8 years ago

Hi @petergdoyle, I saw the same behavior this week. I'll take a look, thanks!