Giter Club home page Giter Club logo

Comments (8)

kfdm avatar kfdm commented on August 17, 2024 1

Sorry for the late reply! thuan-phan is correct. You should be able to modify the files in ~/.config/promgen

from promgen.

tuan-phan avatar tuan-phan commented on August 17, 2024

@alexg84 Please modify these of file in ~/.config/promgen

from promgen.

alexg84 avatar alexg84 commented on August 17, 2024

thank you for the help, in order to use promgen, I have to install MySQL and Redis in my localhost?

from promgen.

tuan-phan avatar tuan-phan commented on August 17, 2024

Yeah. You can use docker-compose up install Redis, MySql, Prometheus, Celery, Alert Manager as well.

from promgen.

alexg84 avatar alexg84 commented on August 17, 2024

Hi tuan-phan,
Thank you for your help.
I have Prometheus and alert manager installed already so I understand that I need MySQL and Redis what about Celery? is It must
thank you in advance

from promgen.

tuan-phan avatar tuan-phan commented on August 17, 2024

Celery is Promgen-agent to apply the new configuration from Promgen web.
Please follow this document to run Celery
https://line.github.io/promgen/conf/prometheus.html#worker-model-push

from promgen.

alexg84 avatar alexg84 commented on August 17, 2024

Thank you for an answer, I tried to use docker-compose but some of the containers doesn't start
ubuntu@ip-10-10-10-66:~/promgen$ docker-compose ps
Name Command State Ports

promgen_alertmanager_1 /bin/alertmanager -config. ... Exit 1
promgen_base_1 /docker-entrypoint.sh dock ... Exit 1
promgen_blackbox_1 /bin/blackbox_exporter --c ... Up 9115/tcp
promgen_mysql_1 docker-entrypoint.sh mysqld Up 3306/tcp, 33060/tcp
promgen_prometheus_1 /bin/prometheus --config.f ... Exit 1
promgen_redis_1 docker-entrypoint.sh redis ... Up 6379/tcp
promgen_web_1 /docker-entrypoint.sh prom ... Up 0.0.0.0:8080->8000/tcp
promgen_worker_1 /docker-entrypoint.sh work ... Up 8000/tcp

from promgen.

tuan-phan avatar tuan-phan commented on August 17, 2024

Hmm I'm not sure about your prometheus container. Anyway you can fix the alertmanager container by change this command in https://github.com/line/promgen/blob/master/docker-compose.yml#L55
--config.file=/etc/prometheus/alertmanager.yml is correct in this case
I believe @kfdm will fix this issue in next release.
https://github.com/line/promgen/pull/57/files

from promgen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.