Skip to content

Commit eda5278

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

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-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

Diff for: types_easyjson.go

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)