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

Rule - API end point for rules and alerts #850

Closed
davtsur opened this issue Feb 16, 2019 · 4 comments
Closed

Rule - API end point for rules and alerts #850

davtsur opened this issue Feb 16, 2019 · 4 comments
Labels

Comments

@davtsur
Copy link
Contributor

davtsur commented Feb 16, 2019

It would be very helpful to have an api end point for the rules / alerts in the rule component (similar to the prometheus server rules / alerts end point)

davtsur pushed a commit to davtsur/thanos that referenced this issue Feb 17, 2019
@bwplotka
Copy link
Member

So Ruler UI actually uses API endpoints, so they are available: https://github.com/improbable-eng/thanos/blob/master/pkg/ui/rule.go#L134

What exactly are you missing? (:

@davtsur
Copy link
Contributor Author

davtsur commented Feb 26, 2019 via email

bwplotka pushed a commit that referenced this issue Mar 4, 2019
* Adding new API end point for rules and alerts

* reusing methods in query api

* Adding unitest for rule API (similar to prometheus rule/alert API end point unitest)

* Adding SetCORS

* Removing comments

* Related to issue #850
@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
@xuanyuanaosheng
Copy link

@davtsur Any update? How to use this API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants