hamzaalalach / Prometheus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prometheus

Deploy a Prometheus server for CI Analytics on Travis to Heroku. This Prometheus server currently only supports 1 scraper for probot.

Requirements

  • This project will require docker
  • We will also need a heroku client and account setup with Heroku.com

Local Setup

script/build.sh
script/server_local.sh

Deploy to Heroku

One Time Setup

  1. Go to the root of this project to execute these commands.
  2. Login to Heroku : heroku login
  3. Create a new project, where myuser is a username or org: heroku apps:create myuser-prom
  4. Configure PROBOT_HOST which is the hostname of your heroku probot app url exist:
    heroku config:set PROBOT_HOST=myuser-probot.herokuapp.com

Publish

  • Run script/publish.sh

Demo Scraper

Setup a demo scraper with Probot following these steps.

Contributing

If you have suggestions for how this project could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

ISC © 2018 Edward Raigosa wenlock@github.com

About

License:ISC License


Languages

Language:Shell 67.5%Language:Dockerfile 32.5%