From 80294b0b5165069bd02501456070268dde9f4a9e Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 13 Jun 2019 03:52:23 +0200 Subject: [PATCH] Added knowledge base categories and answers to status monitoring. --- app/controllers/monitoring_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/monitoring_controller.rb b/app/controllers/monitoring_controller.rb index 4955e9bc1..b05b6cadb 100644 --- a/app/controllers/monitoring_controller.rb +++ b/app/controllers/monitoring_controller.rb @@ -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