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

Function _sanitize

prometheus_client/bridge/graphite.py:19–20  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

17
18
19def _sanitize(s):
20 return _INVALID_GRAPHITE_CHARS.sub('_', s)
21
22
23class _RegularPush(threading.Thread):

Callers 1

pushMethod · 0.85

Calls 1

subMethod · 0.45

Tested by

no test coverage detected