Added knowledge base categories and answers to status monitoring.

This commit is contained in:
Martin Edenhofer 2019-06-13 03:52:23 +02:00
parent 84feacd816
commit 80294b0b51

View file

@ -233,6 +233,8 @@ curl http://localhost/api/v1/monitoring/status?token=XXX
ticket_articles: Ticket::Article,
text_modules: TextModule,
object_manager_attributes: ObjectManager::Attribute,
knowledge_base_categories: KnowledgeBase::Category,
knowledge_base_answers: KnowledgeBase::Answer,
}
map.each do |key, class_name|
status[:counts][key] = class_name.count