OpenTelemetry Deep Dive: Hands-On with the OTel Collector & Bindplane - Join the live workshop on March 19th at 11 AM ET!Sign Up Now

Redis

Supported Platforms

PlatformMetricsLogsTraces
Linux
Windows
macOS

Prerequisites

This source supports Redis version 6.2.

Configuration Table

ParameterTypeDefaultDescription
telemetry_typestelemetrySelector["Logs", "Metrics"]Choose Telemetry Type.
file_pathstringsOne-click installer: - \"/var/log/redis/redis_6379.log\" \nUbuntu / Debian: - \"/var/log/redis/redis-server.log\" \nsrc: - \"/var/log/redis_6379.log\" \nCentOS / RHEL: - \"/var/log/redis/redis.log\" \nSLES: - \"/var/log/redis/default.log\"Path to Redis log file(s).
start_atenumendStart reading the file from the 'beginning' or 'end'.
endpointstring"localhost:6379"The endpoint of the Redis server.
transportenumtcpThe transport protocol being used to connect to Redis. Valid values are tcp or unix.
passwordstringThe password used to access the Redis instance; must match the password specified in the requirepass server configuration option.
collection_intervalint60Sets how often (seconds) to scrape for metrics.
enable_tlsboolfalseWhether or not to use TLS.
insecure_skip_verifyboolfalseEnable to skip TLS certificate verification.
ca_filestringCertificate authority used to validate the database server's TLS certificate.
cert_filestringA TLS certificate used for client authentication, if mutual TLS is enabled.
key_filestringA TLS private key used for client authentication, if mutual TLS is enabled.