MCPcopy Index your code
hub / github.com/prometheus/client_python

github.com/prometheus/client_python @v0.25.0 sqlite

repository ↗ · DeepWiki ↗ · release v0.25.0 ↗
4,317 symbols 16,015 edges 91 files 165 documented · 4%
README

Prometheus Python Client

The official Python client for Prometheus.

Installation

pip install prometheus-client

This package can be found on PyPI.

Documentation

Documentation is available on https://prometheus.github.io/client_python

Links

  • Releases: The releases page shows the history of the project and acts as a changelog.
  • PyPI

Core symbols most depended-on inside this repo

get_sample_value
called by 235
prometheus_client/registry.py
info
called by 110
prometheus_client/metrics.py
add_sample
called by 101
prometheus_client/metrics_core.py
text_string_to_metric_families
called by 85
prometheus_client/parser.py
labels
called by 67
prometheus_client/context_managers.py
merge
called by 58
prometheus_client/multiprocess.py
generate_latest
called by 58
prometheus_client/exposition.py
get
called by 56
prometheus_client/values.py

Shape

Method 2,118
Function 1,721
Class 473
Route 5

Languages

TypeScript80%
Python20%

Modules by API surface

docs/themes/hugo-geekdoc/static/js/731-6d56a3c0.chunk.min.js1,325 symbols
docs/themes/hugo-geekdoc/static/js/mermaid-c274c389.bundle.min.js600 symbols
docs/themes/hugo-geekdoc/static/js/165-06872da1.chunk.min.js319 symbols
docs/themes/hugo-geekdoc/static/js/katex-13a419d8.bundle.min.js308 symbols
docs/themes/hugo-geekdoc/static/js/130-3b252fb9.chunk.min.js306 symbols
tests/test_core.py147 symbols
docs/themes/hugo-geekdoc/static/js/567-6c3220fd.chunk.min.js120 symbols
tests/test_exposition.py91 symbols
docs/themes/hugo-geekdoc/static/js/410-ec3f5ed1.chunk.min.js74 symbols
prometheus_client/metrics.py61 symbols
tests/openmetrics/test_parser.py59 symbols
docs/themes/hugo-geekdoc/static/js/545-bfa2b46e.chunk.min.js55 symbols

For agents

$ claude mcp add client_python \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact