@@ -75,6 +75,7 @@ type ServerStatistics struct {
7575 ClientUser ClientStats `json:"clientUser,omitempty"`
7676 HTTP HTTPStats `json:"http"`
7777 Server ServerStats `json:"server"`
78+ ArangoError
7879}
7980
8081// SystemStats contains statistical data about the system, this is part of
@@ -110,16 +111,18 @@ type ClientStats struct {
110111
111112// HTTPStats contains statistics about the HTTP traffic.
112113type HTTPStats struct {
113- RequestsTotal int64 `json:"requestsTotal"`
114- RequestsAsync int64 `json:"requestsAsync"`
115- RequestsGet int64 `json:"requestsGet"`
116- RequestsHead int64 `json:"requestsHead"`
117- RequestsPost int64 `json:"requestsPost"`
118- RequestsPut int64 `json:"requestsPut"`
119- RequestsPatch int64 `json:"requestsPatch"`
120- RequestsDelete int64 `json:"requestsDelete"`
121- RequestsOptions int64 `json:"requestsOptions"`
122- RequestsOther int64 `json:"requestsOther"`
114+ RequestsTotal int64 `json:"requestsTotal"`
115+ RequestsAsync int64 `json:"requestsAsync"`
116+ RequestsGet int64 `json:"requestsGet"`
117+ RequestsHead int64 `json:"requestsHead"`
118+ RequestsPost int64 `json:"requestsPost"`
119+ RequestsPut int64 `json:"requestsPut"`
120+ RequestsPatch int64 `json:"requestsPatch"`
121+ RequestsDelete int64 `json:"requestsDelete"`
122+ RequestsOptions int64 `json:"requestsOptions"`
123+ RequestsOther int64 `json:"requestsOther"`
124+ RequestsSuperuser int64 `json:"requestsSuperuser,omitempty"`
125+ RequestsUser int64 `json:"requestsUser,omitempty"`
123126}
124127
125128// TransactionStats contains statistics about transactions.
@@ -128,6 +131,7 @@ type TransactionStats struct {
128131 Aborted int64 `json:"aborted"`
129132 Committed int64 `json:"committed"`
130133 IntermediateCommits int64 `json:"intermediateCommits"`
134+ ReadOnly int64 `json:"readOnly,omitempty"`
131135}
132136
133137// MemoryStats contains statistics about memory usage.
@@ -137,6 +141,7 @@ type MemoryStats struct {
137141 CountOfTimes int64 `json:"countOfTimes"`
138142 HeapMax int64 `json:"heapMax"`
139143 HeapMin int64 `json:"heapMin"`
144+ Invocations int64 `json:"invocations,omitempty"`
140145}
141146
142147// V8ContextStats contains statistics about V8 contexts.
@@ -145,6 +150,7 @@ type V8ContextStats struct {
145150 Busy int64 `json:"busy"`
146151 Dirty int64 `json:"dirty"`
147152 Free int64 `json:"free"`
153+ Min int64 `json:"min,omitempty"`
148154 Max int64 `json:"max"`
149155 Memory []MemoryStats `json:"memory"`
150156}
0 commit comments