Documentation
¶
Index ¶
- func Handler() http.Handler
- func IncRedaction()
- func IncRequest(proto, method, host string)
- func LastObservedWALLagMs() int64
- func ObserveAddedLatencyMs(ms float64)
- func ObserveBodyBytes(n float64)
- func ObserveDurationMs(proto, method, host string, ms float64)
- func ObserveWALLagMs(ms float64)
- func Start(addr string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncRedaction ¶
func IncRedaction()
func IncRequest ¶
func IncRequest(proto, method, host string)
func LastObservedWALLagMs ¶
func LastObservedWALLagMs() int64
LastObservedWALLagMs returns the last observed WAL lag in ms (test helper).
func ObserveAddedLatencyMs ¶
func ObserveAddedLatencyMs(ms float64)
func ObserveBodyBytes ¶
func ObserveBodyBytes(n float64)
func ObserveDurationMs ¶
func ObserveWALLagMs ¶
func ObserveWALLagMs(ms float64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.