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 = {
|
map = {
|
||||||
users: User,
|
users: User,
|
||||||
groups: Group,
|
groups: Group,
|
||||||
overviews: Overview,
|
overviews: Overview,
|
||||||
tickets: Ticket,
|
tickets: Ticket,
|
||||||
ticket_articles: Ticket::Article,
|
ticket_articles: Ticket::Article,
|
||||||
text_modules: TextModule,
|
text_modules: TextModule,
|
||||||
|
object_manager_attributes: ObjectManager::Attribute,
|
||||||
}
|
}
|
||||||
map.each do |key, class_name|
|
map.each do |key, class_name|
|
||||||
status[:counts][key] = class_name.count
|
status[:counts][key] = class_name.count
|
||||||
|
|
Loading…
Reference in a new issue