django-silk
ara
Our great sponsors
django-silk | ara | |
---|---|---|
16 | 82 | |
4,244 | 1,790 | |
1.1% | 1.1% | |
7.4 | 6.8 | |
15 days ago | 28 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-silk
-
Show HN: Sqlbind a Python library to compose raw SQL
But that's still not backend-specific SQL?
There should be an interface method for this. Why does psycopg call it mogrify?
https://django-debug-toolbar.readthedocs.io/en/latest/panels... :
> debug_toolbar.panels.sql.SQLPanel: SQL queries including time to execute and links to EXPLAIN each query
But debug toolbars mostly don't work with APIs.
https://github.com/django-query-profiler/django-query-profil... :
> Django query profiler - one profiler to rule them all. Shows queries, detects N+1 and gives recommendations on how to resolve them
https://github.com/jazzband/django-silk :
> Silk is a live profiling and inspection tool for the Django framework. Silk intercepts and stores HTTP requests and database queries before presenting them in a user interface for further inspection
-
Understanding TTFB Latency in DJango - Seems absurdly slow after DB optimizations even locally
you're using DRF, which DDT doesn't work well with. DDT is more for template rendered pages, not API responses. Have you brought in Django silk for monitoring this?
-
The Django ecosystem is not so good
https://github.com/jazzband/django-silk/issues?q=is%3Aopen+is%3Aissue+label%3Abug
-
view fields depend on Enum value in Django admin
Are you using Django-silk? Googling for the error shows https://github.com/jazzband/django-silk/issues/374
-
How to view the number of queries executed in DRF.
Those docs are wrong. They still reference syncdb. Use the README at https://github.com/jazzband/django-silk.
-
Tracking Endpoint Access
Perhaps https://github.com/jazzband/django-silk?
- How can gather info about API Response status per user ?
-
I just updated my deep dive on how to optimize SQL queries with the Django ORM
If you're using Django as an API, without templates, django debug toolbar is useless because it requires templates. It won't work with DRF endpoints which means you miss out on profiling and SQL tracing. That's where django-silk shines.
-
Is there a notable performance difference between getting instance by get.(id=wanted_id) or using foreign key to get instance?
You can also install django-silk to profile your app, and play around with different implementations.
-
3% of 666 Python codebases we checked had a silently failing unit test
https://github.com/ansible-community/ara/pull/358 https://github.com/b12io/orchestra/pull/830 https://github.com/batiste/django-page-cms/pull/210 https://github.com/carpentries/amy/pull/2130 https://github.com/celery/django-celery/pull/612 https://github.com/django-cms/django-cms/pull/7241 https://github.com/django-oscar/django-oscar/pull/3867 https://github.com/esrg-knights/Squire/pull/253https://github.com/Frojd/django-react-templatetags/pull/64 https://github.com/groveco/django-sql-explorer/pull/474 https://github.com/jazzband/django-silk/pull/550 https://github.com/keras-team/keras/pull/16073 https://github.com/ministryofjustice/cla_backend/pull/773 https://github.com/nitely/Spirit/pull/306 https://github.com/python/pythondotorg/pull/1987 https://github.com/rapidpro/rapidpro/pull/1610 https://github.com/ray-project/ray/pull/22396 https://github.com/saltstack/salt/pull/61647 https://github.com/Swiss-Polar-Institute/project-application/pull/483 https://github.com/UEWBot/dipvis/pull/216
ara
-
With what should I use ansbile?
Look into AWX as an alternative to Tower. If you just want better reporting on runs, check out ARA or callback plugins.
- Show HN: ARA Records Ansible and makes it easier to understand and troubleshoot
-
Ansible-Semaphore vs Ansible AWX
Also worth considering is ARA for playbook reporting, and then whatever you want for orchestration (Jenkins, Azure Devops, Rundeck, etc).
-
Zabbix to monitor ansible
Why not use ara?
-
How would I get a list of IP addresses of failed hosts and details?
For general recording of playbook activity with a web dashboard, ARA works really well.
- Planning on writing a callback plugin - is there a unique variable to identify a particular play being run?
-
A way to log which user excuted a playbook
If you don’t want any UI / access control then you can also look at ARA - https://ara.recordsansible.org This works as a callback plugin to capture the job run data.
-
Benchmarking ansible-core 2.11 vs 2.14 and python 3.9 vs 3.11 along with ara's database backends
I'm not sure how to interpret running 100 debug messages (https://github.com/ansible-community/ara/blob/master/tests/integration/benchmark_tasks.yaml) into real life performance. Mitogen's Benchmark used either 100 times a "hostname" command on the target machine (https://github.com/mitogen-hq/mitogen/blob/master/tests/ansible/bench/loop-100-items.yml) or running the DebOps project (https://github.com/debops/debops-playbooks/blob/master/playbooks/common.yml) for some sorta real-world module usage.
-
The Bullhorn #92 (Ansible Newsletter)
Reach out on Mastodon or see this issue on GitHub.
-
Best options for monitoring Ansible deployment times
There has been discussions about a prometheus exporter for monitoring, metrics and eventually fancy graphs in grafana but work on this has not started yet: https://github.com/ansible-community/ara/issues/177
What are some alternatives?
django-debug-toolbar - A configurable set of panels that display various debug information about the current request/response.
awx - AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
django-celery - Old Celery integration project for Django
semaphore - Modern UI for Ansible
django-cms - The easy-to-use and developer-friendly enterprise CMS powered by Django
CIS-Ubuntu-20.04-Ansible - Ansible Role to Automate CIS v1.1.0 Ubuntu Linux 18.04 LTS, 20.04 LTS Remediation
django-oscar - Domain-driven e-commerce for Django
elk-ansible - Using ELK to Build a Fact Search Engine and Inventory CMDB for Ansible Tower
Ray - Ray is a unified framework for scaling AI and Python applications. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
foreman-ansible-modules - Ansible modules for interacting with the Foreman API and various plugin APIs such as Katello
Spirit - Spirit is a modern Python based forum built on top of Django framework