Documentation
¶
Overview ¶
Package stats contains a pretty-printer for statistics about the facts stored on DiskViews.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrettyPrint ¶
func PrettyPrint(ctx context.Context, w io.Writer, res *rpc.FactStatsResult, vc lookups.SP, index uint64, withExternalIDs bool) error
PrettyPrint will collect fact stats from the views and write a pretty printed version of them to the supplied writer
func SortStats ¶
func SortStats(stats *rpc.FactStatsResult)
SortStats sorts the frequencies in the given stats in descending order by count.
Types ¶
This section is empty.