Added ObjectManager::Attribute count to monitoring status result.
This commit is contained in:
parent
124d979e44
commit
2ccda12cc2
1 changed files with 7 additions and 6 deletions
|
@ -226,12 +226,13 @@ curl http://localhost/api/v1/monitoring/status?token=XXX
|
|||
}
|
||||
|
||||
map = {
|
||||
users: User,
|
||||
groups: Group,
|
||||
overviews: Overview,
|
||||
tickets: Ticket,
|
||||
ticket_articles: Ticket::Article,
|
||||
text_modules: TextModule,
|
||||
users: User,
|
||||
groups: Group,
|
||||
overviews: Overview,
|
||||
tickets: Ticket,
|
||||
ticket_articles: Ticket::Article,
|
||||
text_modules: TextModule,
|
||||
object_manager_attributes: ObjectManager::Attribute,
|
||||
}
|
||||
map.each do |key, class_name|
|
||||
status[:counts][key] = class_name.count
|
||||
|
|
Loading…
Reference in a new issue