package
6.8.16+incompatible
Repository: https://github.com/tencentblueking/beats.git
Documentation: pkg.go.dev

# Packages

Package info fetches Redis server information and statistics using the Redis INFO command.
No description provided by the author
No description provided by the author

# Functions

Asset returns asset data.
CreatePool creates a redis connection pool.
FetchKeyInfo collects info about a key.
FetchKeys gets a list of keys based on a pattern using SCAN, `limit` is a safeguard to limit the number of commands executed and the number of keys returned, if more than `limit` keys are being collected the method stops and returns the keys already collected.
FetchRedisInfo returns a map of requested stats.
FetchSlowLogLength returns count of slow operations.
GetRedisEnvHost returns the hostname of the Redis server to use for testing.
GetRedisEnvPort returns the port of the Redis server to use for testing.
NewMetricSet creates the base for Redis metricsets.
ParseRedisInfo parses the string returned by the INFO command Every line is split up into key and value.
ParseRedisLine parses a single line returned by INFO.
Select selects the keyspace to use for this connection.

# Constants

Redis types.
Redis types.
Redis types.
Redis types.
Redis types.
Redis types.

# Structs

MetricSet for fetching Redis server information and statistics.