Title: Django integration on settings.py · Issue #7 · stackimpact/stackimpact-python · GitHub
Open Graph Title: Django integration on settings.py · Issue #7 · stackimpact/stackimpact-python
X Title: Django integration on settings.py · Issue #7 · stackimpact/stackimpact-python
Description: My app is django+gunicorn+gevent. In gunicorn, it runs 9 processes. I insert stackimpact.start() in settings.py. My app can start and data is coming as well. However, when I run command line, say, ./manage.py migrate, it stuck there can ...
Open Graph Description: My app is django+gunicorn+gevent. In gunicorn, it runs 9 processes. I insert stackimpact.start() in settings.py. My app can start and data is coming as well. However, when I run command line, say, ...
X Description: My app is django+gunicorn+gevent. In gunicorn, it runs 9 processes. I insert stackimpact.start() in settings.py. My app can start and data is coming as well. However, when I run command line, say, ...
Opengraph URL: https://github.com/stackimpact/stackimpact-python/issues/7
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Django integration on settings.py","articleBody":"My app is django+gunicorn+gevent. In gunicorn, it runs 9 processes. \r\n\r\nI insert stackimpact.start() in settings.py. My app can start and data is coming as well. However, when I run command line, say, ./manage.py migrate, it stuck there can not exit. If I use keyboard ctrl-c to terminate, the error stack is:\r\n\r\n```\r\n^CException ignored in: \u003cmodule 'threading' from '/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py'\u003e\r\nTraceback (most recent call last):\r\n File \"/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py\", line 1281, in _shutdown\r\n t.join()\r\n File \"/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py\", line 1032, in join\r\n self._wait_for_tstate_lock()\r\n File \"/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py\", line 1048, in _wait_for_tstate_lock\r\n elif lock.acquire(block, timeout):\r\n File \"/Users/dapeng/.local/share/virtualenvs/Plato-XLrv9cCz/lib/python3.7/site-packages/stackimpact/runtime.py\", line 139, in _handler\r\n prev_handler(signum, frame)\r\nKeyboardInterrupt\r\n```\r\n\r\nAs this migration is on our CI pipeline, we cannot manually to terminate it. How can I avoid that? What is the correct way use stackimpact with django?\r\n","author":{"url":"https://github.com/GeniusWiki","@type":"Person","name":"GeniusWiki"},"datePublished":"2019-05-30T00:31:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/7/stackimpact-python/issues/7"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9caeba4f-c2ce-c5b6-7725-ebf00295063b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C6DC:D2067:3C42AD:542225:697B43AB |
| html-safe-nonce | b36a457b7964a74bcfb55d011d7e4b76716fe23d29edab0e73833a10710e7654 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkRDOkQyMDY3OjNDNDJBRDo1NDIyMjU6Njk3QjQzQUIiLCJ2aXNpdG9yX2lkIjoiMjU2MzIyNjIwNjE2NTc0NjYwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8aa14c17c1bf7dcda11482c61f34b37a1e9d1beed5e58dbea1efb04f860b9795 |
| hovercard-subject-tag | issue:450076538 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackimpact/stackimpact-python/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8a7180001f3a4a2e1769dab921905fe8574186f856fbf8f8cd9ea82d8e2aaa59/stackimpact/stackimpact-python/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a7180001f3a4a2e1769dab921905fe8574186f856fbf8f8cd9ea82d8e2aaa59/stackimpact/stackimpact-python/issues/7 |
| og:image:alt | My app is django+gunicorn+gevent. In gunicorn, it runs 9 processes. I insert stackimpact.start() in settings.py. My app can start and data is coming as well. However, when I run command line, say, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GeniusWiki |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6fe64d94889230be19a900846cfc91707e7dd4206878d6c208922b46a6b0735d |
| turbo-cache-control | no-preview |
| go-import | github.com/stackimpact/stackimpact-python git https://github.com/stackimpact/stackimpact-python.git |
| octolytics-dimension-user_id | 22001993 |
| octolytics-dimension-user_login | stackimpact |
| octolytics-dimension-repository_id | 95447826 |
| octolytics-dimension-repository_nwo | stackimpact/stackimpact-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 95447826 |
| octolytics-dimension-repository_network_root_nwo | stackimpact/stackimpact-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 15736a47b83581130a149aa1b928696bea06adde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width