Documentation ¶
Index ¶
- func AddInMemoryObjectCount(num float64)
- func IncDBRequestCounter(operation, status string)
- func IncExternalRequestCounter(status, url string)
- func IncRequestCounter()
- func IncResponseCounter(status, method, endpoint string)
- func Init(_ context.Context) error
- func ObserveDBResponseTime(operation, status string, time float64)
- func ObserveExternalResponseTime(status, url string, time float64)
- func ObserveResponseTime(status, endpoint string, time float64)
- func SubInMemoryObjectCount(num float64)
- type Metrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInMemoryObjectCount ¶
func AddInMemoryObjectCount(num float64)
func IncDBRequestCounter ¶
func IncDBRequestCounter(operation, status string)
func IncExternalRequestCounter ¶
func IncExternalRequestCounter(status, url string)
func IncRequestCounter ¶
func IncRequestCounter()
func IncResponseCounter ¶
func IncResponseCounter(status, method, endpoint string)
func ObserveDBResponseTime ¶
func ObserveResponseTime ¶
func SubInMemoryObjectCount ¶
func SubInMemoryObjectCount(num float64)
Types ¶
Click to show internal directories.
Click to hide internal directories.