py_zipkin:提供实用程序以促进在Python中使用Zipkin

时间:2021-05-05 04:48:55
【文件属性】:
文件名称:py_zipkin:提供实用程序以促进在Python中使用Zipkin
文件大小:96KB
文件格式:ZIP
更新时间:2021-05-05 04:48:55
Python py_zipkin py_zipkin提供了上下文管理器/装饰器以及一些实用程序,以促进在Python应用程序中使用Zipkin。 安装 pip install py_zipkin 用法 py_zipkin需要一个transport_handler对象,该对象处理将zipkin消息记录到*记录服务(例如kafka或scribe)的消息。 py_zipkin.zipkin.zipkin_span是用于启动zipkin跟踪或记录正在进行的跟踪中的跨度的主要工具。 zipkin_span可用作上下文管理器或装饰器。 用法1:以给定的采样率开始跟踪 from py_zipkin . zipkin import zipkin_span def some_function ( a , b ): with zipkin_span ( service_name = 'my_s
【文件预览】:
py_zipkin-master
----setup.py(1KB)
----.gitignore(107B)
----Makefile(459B)
----.travis.yml(1KB)
----MANIFEST.in(40B)
----.pre-commit-config.yaml(861B)
----setup.cfg(57B)
----DEPRECATIONS.rst(3KB)
----LICENSE.txt(11KB)
----README.md(8KB)
----tests()
--------request_helpers_test.py(16KB)
--------encoding()
--------conftest.py(515B)
--------util_test.py(3KB)
--------zipkin_test.py(32KB)
--------__init__.py(0B)
--------integration()
--------storage_test.py(4KB)
--------transport_test.py(2KB)
--------test_helpers.py(4KB)
--------thread_local_test.py(1KB)
--------instrumentations()
--------logging_helper_test.py(16KB)
--------thrift()
--------stack_test.py(3KB)
----CHANGELOG.rst(6KB)
----requirements-dev.txt(219B)
----tox.ini(1KB)
----py_zipkin()
--------encoding()
--------zipkin.py(28KB)
--------thread_local.py(3KB)
--------request_helpers.py(6KB)
--------__init__.py(266B)
--------exception.py(114B)
--------instrumentations()
--------testing()
--------storage.py(6KB)
--------transport.py(4KB)
--------util.py(4KB)
--------thrift()
--------logging_helper.py(7KB)

网友评论