Added knowledge base categories and answers to status monitoring.
This commit is contained in:
parent
84feacd816
commit
80294b0b51
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue