You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/08/03 12:21:49 UTC
[skywalking-python] branch refactor/python-package updated (cca8025
-> ba49542)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a change to branch refactor/python-package
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git.
from cca8025 Refactor: move __init__.py to individual file
add 2ddacef Created venv builders for linux/windows and req flashers + use documentation (#38)
add 198fcd5 Add ability to collect SQL Parameters in PyMsql plugin (#39)
add f0c285e Add plugin for Django Agent (#37)
add 3b977d0 Add ignore_suffix Config (#40)
add 61ce02d Add Django in document (#42)
add 52ba611 Add Flask Http Params (#43)
add 37e817b Add Redis Plugin (#44)
add bfe9822 Update Redis plugin Component Id (#45)
add 584d554 Test: print the diff list when validation failed (#46)
add 74be529 feature: add Tornado Plugin (#48)
add 1c253b2 feature: add Kafka Plugin (#50)
add d21312d Enable Django collect http parameters (#49)
add d245f87 Add changelog for 0.2.0 (#51)
add 731b22f Make plugin compatible with Django < 2.2 (#52)
add e28a09e Add Rabbitmq Plugin (#53)
add ce8de1a chore: add make goal to package release tar ball (#54)
add 9664732 Support propagating correlation context (#55)
add ba49542 Sync
No new revisions were added by this update.
Summary of changes:
.gitignore | 3 +-
CHANGELOG.md | 20 ++++
Makefile | 11 ++-
README.md | 31 ++++++
requirements.txt | 23 +++++
setup.py | 9 +-
skywalking/__init__.py | 7 ++
skywalking/config.py | 12 +++
skywalking/plugins/sw_django.py | 85 ++++++++++++++++
skywalking/plugins/sw_flask.py | 10 +-
skywalking/plugins/sw_kafka.py | 99 +++++++++++++++++++
skywalking/plugins/sw_pymysql.py | 9 +-
skywalking/plugins/sw_rabbitmq.py | 108 +++++++++++++++++++++
skywalking/plugins/{sw_pymysql.py => sw_redis.py} | 31 +++---
skywalking/plugins/sw_tornado.py | 100 +++++++++++++++++++
skywalking/trace/carrier.py | 33 ++++++-
skywalking/trace/context.py | 48 ++++++++-
skywalking/trace/span.py | 8 +-
skywalking/trace/tags.py | 5 +
tests/plugin/__init__.py | 32 +++++-
.../services => sw_django}/__init__.py | 0
.../{sw_flask => sw_django}/docker-compose.yml | 4 +-
.../{sw_flask => sw_django}/expected.data.yml | 38 ++++----
.../services/__init__.py | 0
.../{sw_flask => sw_django}/services/consumer.py | 41 +++++---
.../{sw_flask => sw_django}/services/provider.py | 40 +++++---
.../test_flask.py => sw_django/test_django.py} | 2 +-
tests/plugin/sw_flask/expected.data.yml | 2 +
tests/plugin/sw_flask/services/consumer.py | 3 +
tests/plugin/sw_flask/services/provider.py | 3 +-
tests/plugin/sw_flask/test_flask.py | 7 +-
.../{sw_requests/services => sw_kafka}/__init__.py | 0
.../{sw_pymysql => sw_kafka}/docker-compose.yml | 67 +++++++++----
.../{sw_flask => sw_kafka}/expected.data.yml | 78 +++++++--------
.../{sw_requests => sw_kafka}/services/__init__.py | 0
.../{sw_flask => sw_kafka}/services/consumer.py | 29 +++---
.../provider.py => sw_kafka/services/producer.py} | 12 ++-
.../test_pymysql.py => sw_kafka/test_kafka.py} | 2 +-
tests/plugin/sw_pymysql/docker-compose.yml | 3 +-
tests/plugin/sw_pymysql/expected.data.yml | 6 +-
tests/plugin/sw_pymysql/services/provider.py | 7 +-
.../services => sw_rabbitmq}/__init__.py | 0
.../{sw_pymysql => sw_rabbitmq}/docker-compose.yml | 53 +++++-----
.../{sw_flask => sw_rabbitmq}/expected.data.yml | 82 ++++++++--------
.../services/__init__.py | 0
tests/plugin/sw_rabbitmq/services/consumer.py | 51 ++++++++++
.../services/producer.py} | 26 ++---
.../test_pymysql.py => sw_rabbitmq/test_kafka.py} | 2 +-
.../{sw_requests/services => sw_redis}/__init__.py | 0
.../{sw_pymysql => sw_redis}/docker-compose.yml | 16 ++-
.../{sw_pymysql => sw_redis}/expected.data.yml | 32 ++++--
.../{sw_requests => sw_redis}/services/__init__.py | 0
.../{sw_pymysql => sw_redis}/services/consumer.py | 0
.../{sw_flask => sw_redis}/services/provider.py | 7 ++
.../test_pymysql.py => sw_redis/test_redis.py} | 0
.../services => sw_tornado}/__init__.py | 0
.../{sw_http => sw_tornado}/docker-compose.yml | 6 +-
.../{sw_flask => sw_tornado}/expected.data.yml | 8 +-
.../services/__init__.py | 0
.../{sw_flask => sw_tornado}/services/consumer.py | 27 +++---
.../services/provider.py | 32 +++---
.../test_flask.py => sw_tornado/test_tornado.py} | 0
tools/check-license-header.py | 13 ++-
.../env/build_requirements_linux.sh | 8 ++
tools/env/build_requirements_windows.bat | 22 +++++
.../trace/__init__.py => tools/env/setup_linux.sh | 18 ++--
.../__init__.py => tools/env/setup_windows.ps1 | 15 ++-
67 files changed, 1131 insertions(+), 315 deletions(-)
mode change 100644 => 100755 README.md
create mode 100755 requirements.txt
create mode 100644 skywalking/plugins/sw_django.py
create mode 100644 skywalking/plugins/sw_kafka.py
create mode 100644 skywalking/plugins/sw_rabbitmq.py
copy skywalking/plugins/{sw_pymysql.py => sw_redis.py} (62%)
create mode 100644 skywalking/plugins/sw_tornado.py
copy tests/plugin/{sw_requests/services => sw_django}/__init__.py (100%)
copy tests/plugin/{sw_flask => sw_django}/docker-compose.yml (89%)
copy tests/plugin/{sw_flask => sw_django}/expected.data.yml (93%)
copy tests/plugin/{sw_requests => sw_django}/services/__init__.py (100%)
copy tests/plugin/{sw_flask => sw_django}/services/consumer.py (57%)
copy tests/plugin/{sw_flask => sw_django}/services/provider.py (59%)
copy tests/plugin/{sw_flask/test_flask.py => sw_django/test_django.py} (97%)
copy tests/plugin/{sw_requests/services => sw_kafka}/__init__.py (100%)
copy tests/plugin/{sw_pymysql => sw_kafka}/docker-compose.yml (59%)
copy tests/plugin/{sw_flask => sw_kafka}/expected.data.yml (71%)
copy tests/plugin/{sw_requests => sw_kafka}/services/__init__.py (100%)
copy tests/plugin/{sw_flask => sw_kafka}/services/consumer.py (61%)
copy tests/plugin/{sw_flask/services/provider.py => sw_kafka/services/producer.py} (80%)
copy tests/plugin/{sw_pymysql/test_pymysql.py => sw_kafka/test_kafka.py} (95%)
copy tests/plugin/{sw_requests/services => sw_rabbitmq}/__init__.py (100%)
copy tests/plugin/{sw_pymysql => sw_rabbitmq}/docker-compose.yml (68%)
copy tests/plugin/{sw_flask => sw_rabbitmq}/expected.data.yml (69%)
copy tests/plugin/{sw_requests => sw_rabbitmq}/services/__init__.py (100%)
create mode 100644 tests/plugin/sw_rabbitmq/services/consumer.py
copy tests/plugin/{sw_pymysql/services/provider.py => sw_rabbitmq/services/producer.py} (64%)
copy tests/plugin/{sw_pymysql/test_pymysql.py => sw_rabbitmq/test_kafka.py} (95%)
copy tests/plugin/{sw_requests/services => sw_redis}/__init__.py (100%)
copy tests/plugin/{sw_pymysql => sw_redis}/docker-compose.yml (87%)
copy tests/plugin/{sw_pymysql => sw_redis}/expected.data.yml (81%)
copy tests/plugin/{sw_requests => sw_redis}/services/__init__.py (100%)
copy tests/plugin/{sw_pymysql => sw_redis}/services/consumer.py (100%)
copy tests/plugin/{sw_flask => sw_redis}/services/provider.py (90%)
copy tests/plugin/{sw_pymysql/test_pymysql.py => sw_redis/test_redis.py} (100%)
copy tests/plugin/{sw_requests/services => sw_tornado}/__init__.py (100%)
copy tests/plugin/{sw_http => sw_tornado}/docker-compose.yml (86%)
copy tests/plugin/{sw_flask => sw_tornado}/expected.data.yml (94%)
copy tests/plugin/{sw_requests => sw_tornado}/services/__init__.py (100%)
copy tests/plugin/{sw_flask => sw_tornado}/services/consumer.py (66%)
copy tests/plugin/{sw_http_wsgi => sw_tornado}/services/provider.py (59%)
copy tests/plugin/{sw_flask/test_flask.py => sw_tornado/test_tornado.py} (100%)
mode change 100644 => 100755 tools/check-license-header.py
copy tests/__init__.py => tools/env/build_requirements_linux.sh (84%)
mode change 100644 => 100755
create mode 100755 tools/env/build_requirements_windows.bat
copy skywalking/trace/__init__.py => tools/env/setup_linux.sh (73%)
mode change 100644 => 100755
copy skywalking/trace/__init__.py => tools/env/setup_windows.ps1 (68%)
mode change 100644 => 100755