Git Product home page Git Product logo

celeroku's Introduction

Celery Flower monitoring for Heroku

Flower is a handy tool for monitoring Celery processes. As it's build on top of Tornado web server it needs it's own outside facing port and can't be run as part of your regular Heroku app which only provides one web process type. Luckily Flower is really easy to install as another app and can be run free of charge on Heroku.

This project template/guide helps you to bootstrap the process and creates a simple app for running Flower.

Clone the repo:

git clone https://github.com/iyanuashiri/celeroku.git

Create an Heroku app:

heroku create APP_NAME

Configure the app by providing your broker url (RabbitMQ, Redis, what have you) and a password for logging into Flower:

heroku config:set BROKER_URL=redis://...
heroku config:set FLOWER_BASIC_AUTH="username:password"

Push to heroku:

git push heroku master

Now visit the app. It will ask for a username and a password which you defined above.

Deploy flower to heroku button.

Deploy

PS: This is a working version and one click deploy of https://github.com/jorilallo/celery-flower-heroku

celeroku's People

Contributors

iyanuashiri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

celeroku's Issues

Error

I followed the instructions but I'm getting this error when I open the app. Can I check if this repo is still working?

image

In the app logs I get this:

2023-08-03T10:54:45.239351+00:00 heroku[web.1]: Process exited with status 1
2023-08-03T10:54:45.266400+00:00 heroku[web.1]: State changed from starting to crashed
2023-08-03T10:54:56.942882+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=celery-logger-4bd8f3ddc739.herokuapp.com request_id=cc76a8f6-8f21-4874-addd-a58eec97e38c fwd="86.14.252.189" dyno= connect= service= status=503 bytes= protocol=https
2023-08-03T10:54:57.470272+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=celery-logger-4bd8f3ddc739.herokuapp.com request_id=42e9bcc6-33c1-4fd4-9a04-d8a746dbfb79 fwd="86.14.252.189" dyno= connect= service= status=503 bytes= protocol=https
2023-08-03T10:55:24.116161+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=celery-logger-4bd8f3ddc739.herokuapp.com request_id=68962134-990a-4c69-92fa-4e717836e0ff fwd="86.14.252.189" dyno= connect= service= status=503 bytes= protocol=https
2023-08-03T10:55:24.238169+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=celery-logger-4bd8f3ddc739.herokuapp.com request_id=e157b09c-ff61-40e2-a7ed-ff608e026026 fwd="86.14.252.189" dyno= connect= service= status=503 bytes= protocol=https
2023-08-03T10:57:27.790173+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=celery-logger-4bd8f3ddc739.herokuapp.com request_id=1f3dfd1a-5b8f-461e-aefa-d824f02d299b fwd="86.14.252.189" dyno= connect= service= status=503 bytes= protocol=https
2023-08-03T10:57:28.006776+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=celery-logger-4bd8f3ddc739.herokuapp.com request_id=406cea2c-7c6e-4db6-b35c-8599949166fe fwd="86.14.252.189" dyno= connect= service= status=503 bytes= protocol=https
2023-08-03T11:01:09.621949+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=celery-logger-4bd8f3ddc739.herokuapp.com request_id=39a076d4-04c1-475f-af98-653e2377a4c9 fwd="86.14.252.189" dyno= connect= service= status=503 bytes= protocol=https
2023-08-03T11:01:09.928444+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=celery-logger-4bd8f3ddc739.herokuapp.com request_id=075f03bf-5daa-47fa-89c4-8be16036a0fa fwd="86.14.252.189" dyno= connect= service= status=503 bytes= protocol=https

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.