Giter VIP home page Giter VIP logo

prometheus-on-heroku's Introduction

Sample repo to host Prometheus on Heroku

Uses Heroku's unofficial buildpack.

More configuration to get it to actually deploy to Heroku. I've blogged about this here: https://rohitmacherla.com/installing-prometheus-on-heroku. Perhaps you'd like to look at some advanced monitoring techniques for Salesforce.com as part of the blog series?

Installation

Simplest option:
Deploy

or you can do it manually:

  1. Login to Heroku via CLI

  2. Run

    heroku create --buildpack https://github.com/heroku/heroku-buildpack-prometheus.git
  3. It will create a Heroku app, sets the buildpack and gives us a git URL for the repo like this:

    Creating app... done, ⬢ shielded-beach-38076
    Setting buildpack to https://github.com/heroku/heroku-buildpack-prometheus.git... done
    https://shielded-beach-38076.herokuapp.com/ | https://git.heroku.com/shielded-beach-38076.git
  4. Copy the Heroku git repo URL. In our example, that's https://git.heroku.com/shielded-beach-38076.git

  5. Clone the current repo to your local machine git clone https://github.com/markgarg/sample-prometheus-on-heroku.git

  6. Add the Heroku git repo URL as a remote:

    git remote add heroku https://git.heroku.com/shielded-beach-38076.git
  7. You will now have two remotes: one for origin (the git repo where you develop) and one for Heroku (that it uses to deploy your app)

  8. Push the current repo to Heroku remote:

    git push heroku master
  9. That's it, you've now got a running Prometheus that is deployed to Heroku! Open the app from UI or from CLI using heroku open.

prometheus-on-heroku's People

Contributors

markgarg avatar hitgif avatar

Watchers

 avatar

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.