{{define "statistics"}}

Database statistics

Current state when this page was opened · observed {{activityTime .Snapshot.ObservedAt}}

Knowledge · current scope

{{.Snapshot.Product.Pages}}
Published pages
{{.Snapshot.Product.Links}}
Page links
{{.Snapshot.Product.ConfiguredSources}}
Configured sources
{{.Snapshot.Product.SourceDocuments}}
Saved source documents

Operation lifecycle stages

{{.Snapshot.Product.OperationsTotal}} total
{{range .Stages}}
{{.Count}}
{{.Name}}
{{end}}

Search projections

Lexical state
{{label .Snapshot.Projection.LexicalStatus}}
Embedding state
{{label .Snapshot.Projection.EmbeddingStatus}}
Eligible pages
{{.Snapshot.Projection.EligiblePages}}
Embedded pages
{{.Snapshot.Projection.EmbeddedPages}}
Embedding chunks
{{.Snapshot.Projection.Chunks}}

Deployment-wide storage

Physical values cover this Knowl database, not only the current scope.

Backend
{{.Snapshot.Storage.Backend}}
Database allocation
{{statisticsBytes .Snapshot.Storage.DatabaseBytes}}
{{range .Snapshot.Storage.Tables}}{{end}}
Knowl tableRowsDataIndexesTotal
{{.Name}}{{.Rows}}{{statisticsBytes .DataBytes}}{{statisticsBytes .IndexBytes}}{{statisticsBytes .TotalBytes}}
{{end}}