Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/prometheus/client_python
/ BucketSpan
Class
BucketSpan
prometheus_client/samples.py:38–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
37
# BucketSpan is experimental and subject to change at any time.
38
class
BucketSpan(NamedTuple):
39
offset: int
40
length: int
41
42
43
# Timestamp and exemplar are optional.
Callers
15
_compose_spans
Function · 0.85
test_native_histogram
Method · 0.85
test_nh_histogram_with_exemplars
Method · 0.85
test_nh_longer_spans
Method · 0.85
test_native_histogram_utf8
Method · 0.85
test_native_histogram_utf8_stress
Method · 0.85
test_native_histogram_with_labels
Method · 0.85
test_native_histogram_with_labels_utf8
Method · 0.85
test_native_histogram_with_classic_histogram
Method · 0.85
test_native_plus_classic_histogram_two_labelsets
Method · 0.85
test_native_plus_classic_histogram_two_labelsets_OM_1
Method · 0.85
test_native_histogram_version_comparison
Method · 0.85
Calls
no outgoing calls
Tested by
15
test_native_histogram
Method · 0.68
test_nh_histogram_with_exemplars
Method · 0.68
test_nh_longer_spans
Method · 0.68
test_native_histogram_utf8
Method · 0.68
test_native_histogram_utf8_stress
Method · 0.68
test_native_histogram_with_labels
Method · 0.68
test_native_histogram_with_labels_utf8
Method · 0.68
test_native_histogram_with_classic_histogram
Method · 0.68
test_native_plus_classic_histogram_two_labelsets
Method · 0.68
test_native_plus_classic_histogram_two_labelsets_OM_1
Method · 0.68
test_native_histogram_version_comparison
Method · 0.68
test_native_histogram
Method · 0.68