MCPcopy Create free account
hub / github.com/Facets-cloud/flow / Stats

Struct Stats

internal/stats/report.go:24–38  ·  view source on GitHub ↗

Stats is the fully-aggregated analytics result for one window/project.

Source from the content-addressed store, hash-verified

22
23// Stats is the fully-aggregated analytics result for one window/project.
24type Stats struct {
25 Window string
26 Project string
27 LookupsByKind map[LookupKind]int
28 LookupsTotal int
29 Tokens Usage
30 TasksDone int
31 AutoRuns int
32 OwnerTicks int
33 PlaybookRuns int
34 KBFacts int
35 Savings Savings
36 DollarPerHour float64
37 Weekly []WeeklyPoint
38}
39
40// BuildOpts are the injectable inputs to BuildStats (paths injected so
41// tests can point at temp dirs).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected