Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/prometheus/client_python
/ _get_use_created
Function
_get_use_created
prometheus_client/metrics.py:44–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
43
44
def
_get_use_created() -> bool:
45
return
os.environ.get(
"PROMETHEUS_DISABLE_CREATED_SERIES"
,
'False'
).lower() not in (
'true'
,
'1'
,
't'
)
46
47
48
_use_created = _get_use_created()
Callers
3
setUp
Method · 0.90
tearDown
Method · 0.90
metrics.py
File · 0.85
Calls
1
get
Method · 0.45
Tested by
2
setUp
Method · 0.72
tearDown
Method · 0.72