-
Notifications
You must be signed in to change notification settings - Fork 150
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
connect promgen-prometheus #296
Comments
Likely unrelated to this particular error, but I notice in your As to the targets/rules not showing up in Prometheus, can you verify your cron job ? I would also verify the promgen api is working correctly and that you can get a list of targets/rules from the API. You should be able to test using something like. |
Okay. Thank you very much for your quick response! I had put both servers because I assumed that it could handle two prometheus with their alertManager in a single promgen. This is bad?
and in the cron file that runs every 5 minutes:
This is good? Edited formatting (You can use 3 ` characters to make a code block :) ) |
The promgen configuration is yaml, so you can not have two of the same key (example two |
Yes, I understand. The thing is that the cron takes the json from promgen (json), be it for rules, target or url. That is what I am putting inside prometheus.yaml. All json. Is there a way to take yaml or a way to translate them? |
Prometheus targets can be in either json or yaml (though Promgen exports only json for targets) |
Hi, Paul, how are you? I annoy you because I am not able to connect promgen with prometheus and I am lost.
I am trying a simple installation on my intranet and on the same subnet.
I have promgen installed at 10.30.156.72.
Prometheus, grafana, and alert_manager at 10.30.56.65. No firewall.
The point is that what I modify in promgen is not reflected in prometheus (teams, alerts, groups, etc.). For example, the promgen.rule.yml was never created. Create it by hand, with permissions and nothing happened either.
I installed promgen following the installation guide:
https://github.com/line/promgen/blob/master/CONTRIBUTING.md
and after installed and tested I continued with:
https://promgen.readthedocs.io/en/latest/conf/index.html
i opted for Cron Model (Pull) because i dont have celery installed, neither redis / broker
promgen-prometheus.zip
Is there something I am missing to install or configure? Thank you!
The text was updated successfully, but these errors were encountered: