Source File
instruments.go
Belonging Package
github.com/go-redis/redis/v8/internal
package internal
import (
)
NewConnectionsCounter metric.Int64Counter
)
func () {
defer func() {
if := recover(); != nil {
Logger.Printf(context.Background(), "Error creating meter github.com/go-redis/redis for Instruments", )
}
}()
:= metric.Must(global.Meter("github.com/go-redis/redis"))
WritesCounter = .NewInt64Counter("redis.writes",
metric.WithDescription("the number of writes initiated"),
)
NewConnectionsCounter = .NewInt64Counter("redis.new_connections",
metric.WithDescription("the number of connections created"),
)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |