-
Notifications
You must be signed in to change notification settings - Fork 151
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
How to verify that the promgen has been deployed correctly #266
Comments
Looking at your You don't have it written in your
|
promgen.rule.yml
This file exists.Now the contents of this file are written by myself. |
And to confirm, you also have a Lines 8 to 11 in f83e51f
|
One more thing I would check, is that the promgen worker has permission to write the files. For example, if you created |
Sorry,the full contents of the prometheus.yml file are as follows.
|
I created promgen.rule.yml as root and run Prometheus and Promgen as root too.I would like to ask you if Prometheus and Promgen must be run by non-root users? |
There is no requirement for either to run as root. Typically it is better to run them as a non-root user. So for example you might create a new |
okay,but the question I raised at the beginning still exists.In addition,another problem I found was that when I registerd a new rule, I clicked the test button and reported an error. The error information is as follows.
(edited to add formatting) |
Do you have a shard and prometheus servers registered via the |
The URL for your cluster needs to be a real URL that Promgen can query. I think I also need to update the RuleTest to make the error more obvious |
Can you also check |
Hi,Paul
I follow the steps and register a new rule,but I don't konw how my new rule works in prometheus server.There are no alerts related to this rule.In addition, the configuration file promgen.rule.yml does not write relevant contents.
So I would like to ask you if there is a problem with configuration or other problem.Here are my configuration.
promgen.yml
prometheus.yml
promgen.json
The text was updated successfully, but these errors were encountered: