Skip to content

Commit

Permalink
Adding search queue to munin.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelclay committed Apr 24, 2014
1 parent eac58cd commit c36c96d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/munin/newsblur_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def graph_config(self):
'celery_new_feeds.label': 'Celery - New Feeds',
'celery_push_feeds.label': 'Celery - Push Feeds',
'celery_work_queue.label': 'Celery - Work Queue',
'celery_search_queue.label': 'Celery - Search Queue',
}


Expand All @@ -36,6 +37,7 @@ def calculate_metrics(self):
'celery_new_feeds': r.llen("new_feeds"),
'celery_push_feeds': r.llen("push_feeds"),
'celery_work_queue': r.llen("work_queue"),
'celery_search_queue': r.llen("search_indexer") + r.llen("search_indexer_tasker"),
}

if __name__ == '__main__':
Expand Down

0 comments on commit c36c96d

Please sign in to comment.