line / line/promgen

connect promgen-prometheus

Open
#296 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
1.1k
Forks
152
Avg merge
16h 18m
Merged PRs (30d)
12

Description

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](https://github.com/line/promgen/files/5341586/promgen-prometheus.zip)
Is there something I am missing to install or configure? Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Promgen configuration guide at conf/index.html and the Cron Model (Pull) setup described in the issue. Investigate why promgen.rule.yml is not generated or consumed after changes, using the provided installation details and archive. Done means Promgen changes are reflected in Prometheus configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
prometheus, python
Domain
observability-sre
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.