Skip to content
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

Add support for writing to a generic remote_write endpoint in Ruler #6337

Open
GiedriusS opened this issue Nov 14, 2024 · 1 comment
Open
Labels
component/rules Bits & bobs todo with rules and alerts: the ruler, config service etc. difficulty/medium type/feature

Comments

@GiedriusS
Copy link
Contributor

GiedriusS commented Nov 14, 2024

Is your feature request related to a problem? Please describe.

I would like to use Cortex Ruler in a Thanos stack. Right now the Ruler component writes to ingesters in the ring.

Describe the solution you'd like

Cortex Ruler should be able to write directly to a generic remote_write endpoint.

Maybe the <ruler_config> configuration could look like this:

remote_write:
  url: "http://127.0.0.1/api/v1/receive"
  headers:
    a: b
  .. any extra things

And if this is provided it would only write through remote_write?

Describe alternatives you've considered

Implementing everything needed to make Thanos Receive ingesters behave like Cortex ones but that's a huge project by itself. Let's start small and add support for just remote writing in Cortex Ruler.

Additional context

Other issue on Thanos side: thanos-io/thanos#7905

@dosubot dosubot bot added component/rules Bits & bobs todo with rules and alerts: the ruler, config service etc. type/feature labels Nov 14, 2024
@friedrichg
Copy link
Member

I see great possibilities with this 🪄

are you willing to do first small PR for this? @GiedriusS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/rules Bits & bobs todo with rules and alerts: the ruler, config service etc. difficulty/medium type/feature
Projects
None yet
Development

No branches or pull requests

3 participants