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

Silk not showing overall and 0 for queries #675

Open
nofalx opened this issue Sep 13, 2023 · 3 comments
Open

Silk not showing overall and 0 for queries #675

nofalx opened this issue Sep 13, 2023 · 3 comments

Comments

@nofalx
Copy link

nofalx commented Sep 13, 2023

I tried to use silk in one of my projects and could not make it work. I am using 2 databases with this project one of them is a timescale db.

I tried moving the middleware on all location before/after other middlewares but it didnt change. I also have django debug toolbar but I removed completely with no effect

All silk db tables are empty except for silk_request

I also tried to play with SILKY_PYTHON_PROFILER_RESULT_PATH however im not enabling the profiler and it made no difference if I changed it

Here are some logs:

[09/13/23 07:05:25] DEBUG    [DEBUG] - 2023-09-13 07:05:25,325 : process_request                                                                                                          middleware.py:107
                    DEBUG    [DEBUG] - 2023-09-13 07:05:25,328 : No maximum request body size is set, continuing.                                                                      model_factory.py:215
                    DEBUG    [DEBUG] - 2023-09-13 07:05:25,341 : Created new request model with pk 7517b193-5063-46f7-891f-82104ae4d85c                                                model_factory.py:256
                    INFO     [INFO] - 2023-09-13 07:05:25,503 : {"remote_address": "127.0.0.1", "x_forwarded_for": null, "cf_connecting_ip": null, "real_ip": "127.0.0.1", "user_agent":       logger.py:87
                             "PostmanRuntime/7.32.3", "request_method": "POST", "request_path": "/api/survey/token/manage/", "request_date": "2023-09-13T07:05:25.345408", "execution_time":               
                             158.32, "response_code": 201}    

and here is the screenshot

image

@svb0866
Copy link

svb0866 commented Apr 10, 2024

I am facing the same issue, I also use 2 databases. Can someone look at this issue?

@Atlasfreak
Copy link

Atlasfreak commented May 12, 2024

I just faced the same issue when switching the whole website from sqlite to mariadb. Even reinstalling silk didn't fix it.
Siwtching back to sqlite worked.

@1eokim
Copy link

1eokim commented Oct 30, 2024

Also going through the same issue. Any fixes, suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants