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

ruler: Use notifier Prometheus package when decoupled from config package. #660

Open
bwplotka opened this issue Dec 4, 2018 · 10 comments
Open

Comments

@bwplotka
Copy link
Member

bwplotka commented Dec 4, 2018

Rationales: Ensure similar logic and usage of powerful relabelling in Thanos Ruler.

Acceptance Criteria

  • We don't mainain pkg/alert package and instead use notifier from Prometheus codebase.
  • We don't depend on config package that depends on lots of 3rd party packages (k8s, consul, ec2, etc)

Right now our code mimics notifier.

@bwplotka
Copy link
Member Author

bwplotka commented Dec 4, 2018

First part of it is to move relabel to not use config package: prometheus/prometheus#4955

@bwplotka
Copy link
Member Author

First part merged, whole thing in review: prometheus/prometheus#5025

@markmsmith
Copy link

Is this work still planned, or is full relabeling in Ruler already supported in some other way?

@FUSAKLA
Copy link
Member

FUSAKLA commented Oct 30, 2019

Hi, I believe for now there are the --alert.label-drop= and --label= flags which I'd say cover most of the use cases?
Let us knou if you are blocked by this and those labels does not suffice you and we can look more into it.
Right now I'm not aware of anyone working on this.

@markmsmith
Copy link

We're still in the early stages of figuring out our Thanos alerting setup, so I'm not sure yet if we'll need richer relabeling or not. I was just curious since it seemed like the PR linked above was pretty much there, it just needed a final 👍.

@stale
Copy link

stale bot commented Jan 11, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 11, 2020
@stale stale bot closed this as completed Jan 18, 2020
@lilic
Copy link
Contributor

lilic commented Mar 8, 2020

@bwplotka Can we remove this note that links to issue in the docs? https://github.com/thanos-io/thanos/blob/master/docs/components/rule.md#ruler-ha If not all is implemented do you think it makes sense to open a new issue about this?

@bwplotka
Copy link
Member Author

bwplotka commented Mar 8, 2020

We might need another issue if we need such, so far we did not seen the need ): Anyway the comment in doc is confusing (:

@sjentzsch
Copy link

We require full alert relabeling within Thanos Rule.
To move forward, we would consider a contribution, but would need some assistance/guidance on how to move forward.
Maybe @bwplotka , how would you proceed or what would you suggest as next step?

@yeya24
Copy link
Contributor

yeya24 commented Dec 20, 2023

IIUC, we still want to use notifier package rather than maintaining our own alert package? I will reopen this issue, feel free to comment and close it if it is unnecessary anymore

@yeya24 yeya24 reopened this Dec 20, 2023
@stale stale bot removed stale labels Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants