MCPcopy Create free account
hub / github.com/facebook/time / NewJSONStats

Function NewJSONStats

cmd/ntripper/stats/json.go:38–40  ·  view source on GitHub ↗

NewJSONStats creates a new JSONStats instance.

()

Source from the content-addressed store, hash-verified

36
37// NewJSONStats creates a new JSONStats instance.
38func NewJSONStats() *JSONStats {
39 return &JSONStats{}
40}
41
42// Start launches the HTTP server and a background goroutine that computes
43// per-second rates.

Callers 5

mainFunction · 0.92
TestJSONStatsCountersFunction · 0.70

Calls

no outgoing calls

Tested by 4

TestJSONStatsCountersFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…