package
2.4.2+incompatible
Repository: https://github.com/smithx10/prometheus.git
Documentation: pkg.go.dev
# Functions
NewQueryStats makes a QueryStats struct with all QueryTimings found in the given TimerGroup.
No description provided by the author
No description provided by the author
NewTimerGroup constructs a new TimerGroup.
# Constants
Query timings.
Query timings.
Query timings.
Query timings.
Query timings.
Query timings.
# Structs
QueryStats currently only holding query timings.
No description provided by the author
SpanTimer unifies tracing and timing, to reduce repetition.
A Timer that can be started and stopped and accumulates the total time it was running (the time between Start() and Stop()).
A TimerGroup represents a group of timers relevant to a single query.
# Type aliases
QueryTiming identifies the code area or functionality in which time is spent during a query.
Timers is a slice of Timer pointers that implements Len and Swap from sort.Interface.