client_python:适用于Python应用程序的Prometheus工具库

时间:2024-02-26 05:19:15
【文件属性】:

文件名称:client_python:适用于Python应用程序的Prometheus工具库

文件大小:88KB

文件格式:ZIP

更新时间:2024-02-26 05:19:15

python metrics prometheus instrumentation PythonPython

Prometheus Python客户端 的官方Python 2和3客户端。 三步演示 一:安装客户端: pip install prometheus-client 二:将以下内容粘贴到Python解释器中: from prometheus_client import start_http_server , Summary import random import time # Create a metric to track time spent and requests made. REQUEST_TIME = Summary ( 'request_processing_seconds


【文件预览】:
client_python-master
----MANIFEST.in(50B)
----NOTICE(236B)
----.coveragerc(256B)
----prometheus_client()
--------parser.py(7KB)
--------core.py(901B)
--------utils.py(621B)
--------metrics.py(22KB)
--------multiprocess.py(6KB)
--------exposition.py(15KB)
--------values.py(4KB)
--------gc_collector.py(1KB)
--------twisted()
--------metrics_core.py(12KB)
--------__init__.py(2KB)
--------mmap_dict.py(5KB)
--------decorator.py(15KB)
--------asgi.py(1KB)
--------process_collector.py(4KB)
--------bridge()
--------registry.py(5KB)
--------platform_collector.py(2KB)
--------context_managers.py(2KB)
--------openmetrics()
--------samples.py(1KB)
----SECURITY.md(170B)
----tests()
--------test_graphite_bridge.py(3KB)
--------test_multiprocess.py(13KB)
--------test_wsgi.py(2KB)
--------test_platform_collector.py(2KB)
--------proc()
--------test_gc_collector.py(2KB)
--------test_process_collector.py(4KB)
--------test_parser.py(12KB)
--------__init__.py(0B)
--------test_twisted.py(2KB)
--------test_exposition.py(17KB)
--------test_asgi.py(4KB)
--------test_core.py(34KB)
--------openmetrics()
----tox.ini(2KB)
----LICENSE(11KB)
----CONTRIBUTING.md(2KB)
----setup.py(2KB)
----.gitignore(76B)
----.circleci()
--------config.yml(2KB)
----CODE_OF_CONDUCT.md(155B)
----README.md(17KB)
----MAINTAINERS.md(58B)

网友评论