Questions tagged [django-silk]

8 questions
8
votes
3 answers

django-silk shows 0 time for all queries

Using django 2.2.14 and django-silk 3.0. Just return overall time but the queries are all 0.Is some wrong about the version of django-silk or django?How can I solve the bizarre issus. Package Version Django 2.2.14 django-silk 3.0.2 silk show image
Ramsey
  • 103
  • 7
2
votes
0 answers

OSError: [Errno 30] Read-only file system: '/[Path to project]' on mac

I am trying to set up django-silk in my django project and I keep running into this issue when I run python manage.py collectstatic. I have tried creating a new virtual environment and trying again but I get the same error. But if I were to create a…
2
votes
0 answers

Django silk deadlock (PostgreSQL)

I am receiving the following error on production server. How can I debug or fix this. I tried searching for answers but nothing makes sense. django: 2.2.3 django-silk 3.0.0 postgressql 9.5.14 django.db.utils.OperationalError: deadlock detected…
Emmanuel Mtali
  • 4,383
  • 3
  • 27
  • 53
1
vote
1 answer

django-silk Page not found

I did the install and I see the tables silk makes in my database so I know it is working but when I do the 127.0.0.1:8000/silk I get Page not found. I did add the path('silk', include('silk.urls', namespace='silk')), to my urls file. I added…
1
vote
0 answers

Query Optimization and profiling for celery tasks

Django-debug-toolbar and Django-silk are two famous tools for profiling HTTP requests. Is it possible to analyze a celery task or any other function inside the code? for instance, I have a celery task like this: def main_task(): while…
1
vote
3 answers

Disabling Django Silk for specific URLs

I have an API endpoint on which I can upload a photo using a multipart request. When Silk is trying to parse the request, I get a decoding error. I now want to disable Silk for certain URL endpoints. Is this already possible? If so, how should I…
physicalattraction
  • 6,485
  • 10
  • 63
  • 122
0
votes
0 answers

Silk UI not loading: ERROR CODE 103 - Enable JavaScript to run this app

I'm experiencing an issue while trying to access the Silk statistics for my Django app. When I request the corresponding URL (http://localhost:8000/silk/), I'm getting the following response even though JS is enabled in the browser: ERROR CODE…
BC Coder
  • 43
  • 6
0
votes
1 answer

Profiling database queries and latency of ordinary functions in django

We need some tool for analyzing non view functions of our django project particularly the celery-beat tasks. So, is there any tool for profiling queries and latency of running ordinary functions (not views) in a django app? Preferably, is there any…
mhk
  • 386
  • 1
  • 5
  • 18