Skip to content

Add new Redis OTel input package#17281

Closed
mrodm wants to merge 6 commits intoelastic:mainfrom
mrodm:add-redis-otel-input-package
Closed

Add new Redis OTel input package#17281
mrodm wants to merge 6 commits intoelastic:mainfrom
mrodm:add-redis-otel-input-package

Conversation

@mrodm
Copy link
Collaborator

@mrodm mrodm commented Feb 6, 2026

Proposed commit message

This PR adds a new Redis OpenTelemetry Input Package (redis_input_otel) that enables Elastic users to collect metrics from Redis servers using the OpenTelemetry Collector's redisreceiver through the EDOT (Elastic Distribution of OpenTelemetry) collector.

New Package: redis_input_otel

The package provides:

  • Connection settings: endpoint, username, password, transport (tcp/unix)
  • TLS settings: insecure mode, skip verification, CA/cert/key files, server name override
  • Collection settings: collection interval, initial delay

Configuration Options

Setting Required Default Description
Endpoint Yes localhost:6379 The Redis server endpoint (host:port)
Username No - Redis ACL username (requires Redis 6.0+)
Password No - Redis password
Transport No tcp Network to use (tcp or unix)
Disable TLS No true Set to false to enable TLS
Collection Interval No 10s Time between metric collections
Initial Delay No 1s Delay before starting collection

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

perk and others added 4 commits January 29, 2026 15:37
1. Fixed Duration Field Types
Changed collection_interval and initial_delay from type: text to type: duration in manifest.yml.

2. Added Missing TLS Configuration Options
Added to manifest.yml and input.yml.hbs:
tls_min_version - Minimum TLS version (1.0, 1.1, 1.2, 1.3)
tls_max_version - Maximum TLS version
tls_include_system_ca_certs_pool - Include system CA pool alongside custom CA

3. Added Dialer Timeout Option
Added dialer_timeout (duration type) for configuring connection timeout.

4. Updated Documentation
Updated both docs/README.md and _dev/build/docs/README.md to document the new fields:
Connection Settings table - Added Dialer Timeout row
TLS Settings table - Added:
TLS Min Version
TLS Max Version
Include System CA Certs Pool
@mrodm mrodm self-assigned this Feb 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two consistency issues found:

  1. Owner mismatch: The CODEOWNERS file assigns @elastic/ecosystem but manifest.yml declares elastic/obs-infraobs-integrations as the GitHub owner. These should be aligned.

  2. Changelog link: References PR #17097 instead of this PR (#17281).


Why is Claude responding? | Type @claude to interact further

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@mrodm mrodm force-pushed the add-redis-otel-input-package branch from b03d87c to 2b9ad83 Compare February 6, 2026 11:39
@elasticmachine
Copy link

💚 Build Succeeded

History

cc @mrodm

@mrodm
Copy link
Collaborator Author

mrodm commented Feb 6, 2026

@claude please update the logo of this redis_input_package package.

Given the logo found here (https://github.com/elastic/integrations/blob/641ca791261e11518c028aea25e578fa293b6c5e/packages/redis/img/logo_redis.svg) you need to join the OTEL logo to the right bottom corner. The original OTEL icon is https://github.com/open-telemetry/opentelemetry.io/blob/main/iconography/32x32/Open_Telemetry.svg.

Requirements for the updated logo for this package:

  • It should be in svg format.
  • It should have the transparent background.
  • The dimensions of this logo should be 64x64ps or 32x32px.

Some example: https://github.com/elastic/integrations/blob/main/packages/iis_input_otel/img/iis_otellogo.svg

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Claude finished @mrodm's task in 1m 18s —— View job


Updating Redis OTel Package Logo

  • Fetch the Redis logo SVG
  • Fetch the OpenTelemetry logo SVG
  • Create combined logo with OTel in bottom-right corner
  • Update the package logo file
  • Commit and push changes

Summary: Updated the redis_input_otel package logo to combine the Redis logo with the OpenTelemetry logo. The combined logo features:

  • Redis logo scaled to ~75% in the top-left area
  • OpenTelemetry logo (in blue #425CC7) positioned in the bottom-right corner at ~44% scale
  • 32x32px dimensions with transparent background in SVG format

Commit: 9690aaf

--- |


Why is Claude responding? | Type @claude to interact further

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@mrodm
Copy link
Collaborator Author

mrodm commented Feb 6, 2026

@claude please update the logo of this redis_input_package package.

Given the logo found here (https://github.com/elastic/integrations/blob/641ca791261e11518c028aea25e578fa293b6c5e/packages/redis/img/logo_redis.svg) you need to join the OTEL logo to the right bottom corner. The original OTEL icon is https://github.com/open-telemetry/opentelemetry.io/blob/main/iconography/32x32/Open_Telemetry.svg.

Requirements for the updated logo for this package:

  • It should be in svg format.
  • It should have the transparent background.
  • The dimensions of this logo should be 64x64ps or 32x32px.
  • Keep the OTel logo as it is without changing any color.

Some examples in other packages:

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Claude finished @mrodm's task in 4m 2s —— View job


Updating Redis OTel Package Logo

  • Fetch the Redis logo SVG
  • Fetch the OpenTelemetry logo SVG
  • Review example logos for reference
  • Create combined logo with OTel in bottom-right corner (keeping OTel colors)
  • Commit and push changes

Summary: Updated the redis_input_otel package logo to combine the Redis logo with the OpenTelemetry logo using the original OTel colors. The combined logo features:

  • Redis logo scaled to ~75% in the top-left area
  • OpenTelemetry logo positioned in the bottom-right corner with original colors:
    • Orange (#f5a800) for the outer elements (circle, diagonal bar)
    • Blue (#425cc7) for the inner elements
  • 32x32px dimensions with transparent background in SVG format

Commit: 826dd76

--- |


Why is Claude responding? | Type @claude to interact further

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@mrodm
Copy link
Collaborator Author

mrodm commented Feb 6, 2026

@claude please update the logo of this redis_input_package package.

Given the logo found here (https://github.com/elastic/integrations/blob/641ca791261e11518c028aea25e578fa293b6c5e/packages/redis/img/logo_redis.svg) you need to join the OTEL logo to the right bottom corner. The original OTEL icon is https://github.com/open-telemetry/opentelemetry.io/blob/main/iconography/32x32/Open_Telemetry.svg.

Requirements for the updated logo for this package:

  • It should be in svg format.
  • It should have the transparent background.
  • The dimensions of this logo should be 64x64ps or 32x32px.
  • Keep the OTel logo as it is without changing any color and a bit bigger. Take the example of iis_input_package or hostmetrics_input_package

Some examples in other packages:

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Claude finished @mrodm's task in 6m 39s —— View job


Updating Redis OTel Package Logo

  • Fetch the Redis logo SVG
  • Fetch the OpenTelemetry logo SVG
  • Review example logos (IIS and hostmetrics) for reference
  • Create combined logo with OTel in bottom-right corner (bigger, original colors)
  • Update the package logo file
  • Commit and push changes

Summary: Updated the redis_input_otel package logo to make the OpenTelemetry icon bigger. Changes:

  • Increased OTel icon scale from 0.44 to 0.56 (~27% larger)
  • Adjusted positioning from translate(18, 18) to translate(14, 14) to accommodate the larger size
  • Kept the original OTel colors: orange (#f5a800) and blue (#425cc7)
  • 32x32px dimensions with transparent background in SVG format

Commit: 91ca3ac


Why is Claude responding? | Type @claude to interact further

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@mrodm
Copy link
Collaborator Author

mrodm commented Feb 6, 2026

@claude please update the logo of this package by making even bigger the OTel logo.

It should be keep the same requirements mentioned in: #17281

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Claude finished @mrodm's task in 2m 28s —— View job


Updating Redis OTel Package Logo

  • Review the current logo and referenced requirements
  • Review example logos (IIS and hostmetrics) for reference sizing
  • Update the logo with a bigger OTel icon
  • Commit and push changes

Summary: Updated the redis_input_otel package logo to make the OpenTelemetry icon bigger. Changes:

  • Increased OTel icon scale from 0.56 to 0.66 (~18% larger)
  • Adjusted positioning from translate(14, 14) to translate(11, 11) to accommodate the larger size
  • Kept the original OTel colors: orange (#f5a800) and blue (#425cc7)
  • 32x32px dimensions with transparent background in SVG format

Commit: 0c4c595

--- |


Why is Claude responding? | Type @claude to interact further

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@mrodm
Copy link
Collaborator Author

mrodm commented Feb 6, 2026

@claude please update the logo of this package by making even bigger the OTel logo. it should be scale from 0.66 to 2.

It should be keep the same requirements mentioned in: #17281

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Claude finished @mrodm's task in 1m 40s —— View job


Updating Redis OTel Package Logo

  • Read the current logo file
  • Update OTel logo scale from 0.66 to 2
  • Adjust positioning for larger OTel logo
  • Commit and push changes

Summary: Updated the redis_input_otel package logo to increase the OpenTelemetry icon scale from 0.66 to 2 as requested. Adjusted positioning from translate(11, 11) to translate(-28, -28) to accommodate the larger scale while keeping the icon in the bottom-right area.

  • Original OTel colors preserved: orange (#f5a800) and blue (#425cc7)
  • 32x32px dimensions with transparent background in SVG format

Commit: d9d3617


Why is Claude responding? | Type @claude to interact further

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@mrodm
Copy link
Collaborator Author

mrodm commented Feb 6, 2026

@claude please update the logo of this package by making a little smaller the OTel logo. it should be scale from 2 down to 1.2 .

It should be keep the same requirements mentioned in: #17281

@andrewkroh andrewkroh added New Integration Issue or pull request for creating a new integration package. documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. labels Feb 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Claude finished @mrodm's task in 2m 45s —— View job


Updating Redis OTel Package Logo

  • Read the current logo file
  • Update OTel logo scale from 2 down to 1.2
  • Adjust positioning for smaller OTel logo
  • Commit and push changes

Summary: Updated the redis_input_otel package logo to reduce the OpenTelemetry icon scale from 2 to 1.2 as requested. Changes:

  • Reduced OTel icon scale from 2 to 1.2 (40% reduction)
  • Adjusted positioning from translate(-28, -28) to translate(5, 5) to accommodate the smaller scale
  • Kept the original OTel colors: orange (#f5a800) and blue (#425cc7)
  • 32x32px dimensions with transparent background in SVG format

Commit: e03a3a6


Why is Claude responding? | Type @claude to interact further

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The password field uses secret: true, but Fleet Server has a known issue (#6277) where secrets in OTel configurations aren't properly resolved. The prometheus_input_otel package explicitly uses secret: false with a TODO comment referencing this issue. Until Fleet Server resolves this, the password may not be correctly substituted at runtime.

Consider following the pattern from prometheus_input_otel and setting secret: false with a TODO comment to re-enable once the issue is fixed.


Why is Claude responding? | Type @claude to interact further

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

required: false
title: Password
description: The password used to access the Redis instance; must match the password specified in the requirepass server configuration option in Redis <6.0, or the user's password when using the Redis ACL system in Redis 6.0+.
secret: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 HIGH Secret handling may fail with Fleet Server

Why: Fleet Server has a known issue (#6277) where secrets in OTel configurations aren't properly resolved. Other OTel input packages set secret: false as a workaround.

Suggested change
secret: true
secret: false

Why is Claude responding? | Type @claude to interact further

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

description: Override the virtual host name of authority in TLS requests.
show_user: false
- name: tls_min_version
type: text
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW Consider using select type for TLS version fields

Why: Using select type with predefined options (like transport field) would provide better user experience and prevent invalid inputs.

Suggested change
type: text
type: select
required: false
title: TLS Min Version
description: Minimum acceptable TLS version.
multi: false
options:
- text: "TLS 1.0"
value: "1.0"
- text: "TLS 1.1"
value: "1.1"
- text: "TLS 1.2"
value: "1.2"
- text: "TLS 1.3"
value: "1.3"

Why is Claude responding? | Type @claude to interact further

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@mrodm mrodm closed this Feb 6, 2026
@github-actions github-actions bot mentioned this pull request Feb 6, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. New Integration Issue or pull request for creating a new integration package.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Input Package: Redis receiver

5 participants