Skip to content
Permalink
Browse files

Add pysnooper to ease debugging in OMD

When debugging check plugins in a OMD sites we are limited to pdb and print
statements right now. PySnooper provides functionality which can improve the
debugging experience significantly.

Change-Id: Idbb781eb709e421960309deddaf29f49b35d3dcf
  • Loading branch information...
fkromer committed May 7, 2019
1 parent 64a88c5 commit 4333f8d7c25b7577c6a00fdcb24df52bd78f5fa9
@@ -25,6 +25,7 @@ freezegun = "*"
# We have to use a snapshot, a version which works for us has not been released yet. :-/
# Workaround: We need to upload the Archive and cannot use it from our Git due to a Pipenv bug
compiledb = {file = "http://nexus:8081/repository/archives/compiledb-10a1da2.tar.gz"}
pysnooper = "==0.0.31"

[packages]
setuptools_scm = "==3.1.0"
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "cf2db0742979e1e3530150d7cc4572ce18251fb3eb98740531d21c6ff5cfe9eb"
"sha256": "a3d0a3f3876cca3c5eca23e70fec626ea2ba78aa8fdb9b982e60fade917300c8"
},
"pipfile-spec": 6,
"requires": {
@@ -697,6 +697,7 @@
"sha256:6488f1423b00f73b7ad5167885312bb0ce410d3312eb212393795b53c8caa580"
],
"index": "pypi",
"markers": "extra == 'security'",
"version": "==18.0.0"
},
"pypdf2": {
@@ -1010,7 +1011,7 @@
"sha256:9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a",
"sha256:f0b0e4eba956de51238e17573b7087e852dfe9854afd2e9c873f73fc0ca0a6dd"
],
"markers": "python_version < '3.2'",
"markers": "python_version < '3'",
"version": "==1.5"
},
"backports.ssl-match-hostname": {
@@ -1156,7 +1157,7 @@
"sha256:330cc27ccbf7f1e992e69fef78261dc7c6569012cf397db8d3de0234e6c937ca",
"sha256:a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50"
],
"markers": "python_version < '3.3'",
"markers": "python_version < '3.0'",
"version": "==1.0.2"
},
"futures": {
@@ -1386,6 +1387,14 @@
],
"version": "==0.9.0"
},
"pysnooper": {
"hashes": [
"sha256:e7ca9700a6288532589b24b2664655a8ff61854459f1233642e21bcc336ead7c",
"sha256:eb22671c528bee36891d3284135693e2cda3014f2d8b6e9d4296b62266541ece"
],
"index": "pypi",
"version": "==0.0.31"
},
"pytest": {
"hashes": [
"sha256:3773f4c235918987d51daf1db66d51c99fac654c81d6f2f709a046ab446d5e5d",
@@ -200,6 +200,8 @@ PYTHON_MODULES_LIST += opsgenie-sdk-0.3.1.tar.gz
PYTHON_MODULES_LIST += pytz-2019.1.tar.gz
# Added for easier debugging of check plugins in OMD scope
PYTHON_MODULES_LIST += pdbpp-0.10.0.tar.gz
PYTHON_MODULES_LIST += PySnooper-0.0.31.tar.gz


# NOTE: Cruel hack below! We need to have a recent GCC visible in the PATH
# because the SSSE3 detection in pycryptodomex is slightly broken. :-/
Binary file not shown.

0 comments on commit 4333f8d

Please sign in to comment.
You can’t perform that action at this time.