Skip to content

Latest commit

 

History

History

redisstorageextension

File Storage

Status
Stability development
Distributions []
Issues Open issues Closed issues
Code Owners @atoulme | Seeking more code owners!

The Redis Storage extension can persist state to a Redis cluster.

The extension requires read and write access to a Redis cluster.

Config

  • endpoint (required): The endpoint of the redis instance to connect to. Default: localhost:6379
  • password (optional): the password to connect to the redis instance. Default: ``
  • db (optional): Database to be selected after connecting to the server. Default: 0
  • expiration (optional): TTL for all storage entries. Default TTL means the key has no expiration time. Default: 0

Example

extensions:
  redis_storage:
  redis_storage/all_settings:
    endpoint: localhost:6379
    password: ""
    db: 0
    expiration: 5m

service:
  extensions: [redis_storage, redis_storage/all_settings]
  pipelines:
    traces:
      receivers: [nop]
      processors: [nop]
      exporters: [nop]

# Data pipeline is required to load the config.
receivers:
  nop:
exporters:
  nop: