Make plugin compatible with Django < 2.2#52
Make plugin compatible with Django < 2.2#52kezhenxu94 merged 1 commit intoapache:masterfrom Humbertzhang:master
Conversation
author zkscpqm <qmcpzks@naver.com> 1595084266 +0300 committer kezhenxu94 <kezhenxu94@163.com> 1596458512 +0800 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE/Eo3KEa/qP7Oqvu/Ng+pfz8mM0wFAl8oBhAACgkQNg+pfz8m M0y/bBAAoBBwE54/GJ00JQ8tgn5xqNo1bfqlBcNa6obvXJbkvFwt/knVEU+fuKxm p/jGahr2EyHzhXTh4XUo5xxlK+xgTid5JHRopjgTY3MgbEG/397tcS2+1P8NQUCB Lh+OxX5V4Gm0GqvFP02zrsHjBiJYL1TVz4R8PomuE+w7fuNyuqPtNMUt5ILsZz/3 X3X7JJnbJqjKK5fEcerPKPUL3Ee+muazoCuR5KFGJ6PbxrVu/YBG3UTTeOhVonOb r7VKicGJSKQZD3nCH8cE56Qwt3uoQE1W0lQ/L1RwE++ixa+vk19FpPlwoup/eYac vYTGjMSgloCpiksGmhLhPU5bOlMxoArqJQg2zHayPfrdFNfgu1qfu+fMciU+8A11 OxhLEjLxAnlEO7wtjcUuVD+siVlmkKeRBxffsoiZTXWFQVbbNnM9Sgrc70ql9KwK uCi3Bcfr2gJctC+vrHEBO2AJX4HtSuhYtpGzKAPc0SHb2niKqqFFZHWa+t5db7zg ixxUrT5j9OSAi4TzDi4/QLEjCt0ECOxJJpeUFMXn4SLHYiSaU5lgV+H5VOxEKotj w3dpHU1J1/mylZ9TauFX703vIc/il8iqKeqc0JFgSa25F0ZjlyfI8MIkwfHA8CNS MTMjnwmcDpOgc/AADPqAz+kwLYLARlvBUkz5uhwqI8slXkpwnrY= =4v88 -----END PGP SIGNATURE----- Created venv builders for linux/windows and req flashers + use documentation (#38) * Created venv builders for linux/windows and req flashers + use documentation * aadd license headers to scripts * moved scripts, updated paths, changed how reqs are installed, updated linux venv bin path * update license checker to accomodate for shebangs and batchfile comments Add ability to collect SQL Parameters in PyMsql plugin (#39) Add plugin for Django Agent (#37) Add ignore_suffix Config (#40) Add Django in document (#42) Add Flask Http Params (#43) * Add Flask Http Params * Add Flask Http Params Co-authored-by: huawei <huawei@bit-s.cn> Add Redis Plugin (#44) Update Redis plugin Component Id (#45) Test: print the diff list when validation failed (#46) feature: add Tornado Plugin (#48) feature: add Kafka Plugin (#50) Enable Django collect http parameters (#49) Add changelog for 0.2.0 (#51) Make plugin compatible with Django < 2.2 (#52) Add Rabbitmq Plugin (#53) chore: add make goal to package release tar ball (#54) Support propagating correlation context (#55) Sync Add changelog for 0.2.0 (#51) Make plugin compatible with Django < 2.2 (#52) Add Rabbitmq Plugin (#53) chore: add make goal to package release tar ball (#54) Support propagating correlation context (#55) Sync
|
I just tried Djano==3.1 and apache-skywalking==0.2.0,when I use cmd "python3 test_django.py runserver 0.0.0.0:9090",only use http protocol can work well,grpc protocol can't work. |
|
I also try set agent code in settings.py,but when I start my django server ,it will throw exception: raise RuntimeError('the agent can only be started once'). So, I want use agent to listen my django server,what should I do? thank you very much! |
|
@shuguang-dong please provide a demo project to help us reproduce, you have so many different ports in the comment, |
|
The agent can only be started once, you just need to find a place, import skywalking and use from skywalking import agent, config
config.service_name = "test"
config.logging_level = "DEBUG"
agent.start() |
|
Hold on pelase.I provide my demo project after |
|
Hello, here is my demo project: https://github.com/shuguang-dong/demo |
|
@shuguang-dong thanks for providing the demo, we'll take a look soon |
|
when you run |
|
But my backend server is run with 8000,how can I use agent to listen 8000 prot? |
No description provided.