package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Packages

Package info fetches Redis server information and statistics using the Redis INFO command.

# Functions

AssetRedis 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.
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.
Pool is a redis pool that keeps track of the database number originally configured.