Skip to content

Commit e5c8817

Browse files
committed
Adds document database metric to stats object
1 parent e56172a commit e5c8817

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: types.go

+2
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ type StatsIndex struct {
153153
NumberOfDocuments int64 `json:"numberOfDocuments"`
154154
IsIndexing bool `json:"isIndexing"`
155155
FieldDistribution map[string]int64 `json:"fieldDistribution"`
156+
RawDocumentDbSize int64 `json:"rawDocumentDbSize"`
157+
AvgDocumentSize int64 `json:"avgDocumentSize"`
156158
}
157159

158160
// Stats is the type that represent all stats

0 commit comments

Comments
 (0)