Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flower as a dev dependency #5189

Merged
merged 3 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ sqlparse = "*"
[dev-packages]
argh = ">=0.26.2"
astroid = ">=2.3"
flower = "*"
coverage = ">=5.0"
crc-bonfire = "*"
debugpy = ">=1.3.0"
Expand Down
99 changes: 98 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions docs/devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,3 +313,21 @@ Examples commands and results:
'schema1': {'PG': {'reporting_awscostentrylineitem_daily_summary': 'All data complete for table: reporting_awscostentrylineitem_daily_summary'}, 'TRINO': 'PG data complete so skipping trino query'}},
'schema3': {'PG': {'reporting_awscostentrylineitem_daily_summary': 'All data complete for table: reporting_awscostentrylineitem_daily_summary'}, 'TRINO': 'PG data complete so skipping trino query'}}
```

## Monitoring Celery ##

[Flower] is a tool for monitoring Celery clusters. It provides detailed information about the status of workers and tasks.

Flower is installed with the dev dependencies but it is not run by default. To start Flower, run

```
celery -A koku flower
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

side note: it should be run inside koku/koku (or wherever the celery.py file is).

```

Open http://localhost:5555 to see Celery details.

See the [Flower documentation][flower] for detailed usage information.



[flower]: https://flower.readthedocs.io/en/latest/index.html
Loading