Skip to content

New component: KEDA Scaler Exporter #39310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
obs-gh-alexlew opened this issue Apr 11, 2025 · 2 comments
Open

New component: KEDA Scaler Exporter #39310

obs-gh-alexlew opened this issue Apr 11, 2025 · 2 comments
Labels
Sponsor Needed New component seeking sponsor waiting for author

Comments

@obs-gh-alexlew
Copy link

The purpose and use-cases of the new component

KEDA is an autoscaling system for Kubernetes that allows you to use various metrics backends (integrated through a scaler) as the source of metrics for autoscaling. There are over 60 scalers including Prometheus and other metrics backends. The OTEL Collector already exposes metrics to poll for in various exporters (ex. prometheus exporter). This exporter would implement the KEDA Scaler Interface and would allow an instance of an OTEL Collector to serve as the metrics backend for the OTEL Collector scaler.

Example configuration for the component

endpoint: url that exporter exposes
maxAge: oldest metrics returned to endpoint queries
timeWindowOffset: offset window for metrics queries

Telemetry data types supported

Metrics

Code Owner(s)

No response

Sponsor (optional)

No response

Additional context

This component would need to hold some metrics in memory (the exact metrics could either be configured in the component's config or alternatively could be determined based on the creation/existence of some CRD) and then return the values to queries based on that internal representation. This is a model similar to other pull exporters. It would also be responsible for converting from the internal pdata metrics format to the format expected by KEDA.

@atoulme
Copy link
Contributor

atoulme commented May 5, 2025

I am not sure I follow. Can you draw what the interaction between the systems would look like please?

@ronkorland
Copy link

@atoulme @obs-gh-alexlew I opened an initial PR today to KEDA Scaler Exporter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sponsor Needed New component seeking sponsor waiting for author
Projects
None yet
Development

No branches or pull requests

4 participants