We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8171e83 commit 0da3265Copy full SHA for 0da3265
io/prometheus/client/metrics.proto
@@ -90,6 +90,12 @@ message Bucket {
90
}
91
92
message SparseBuckets {
93
+ // A Span is a given number of consecutive buckets at a given
94
+ // offset. Logically, it would be more straightforward to include
95
+ // the bucket counts in the Span. However, the protobuf
96
+ // representation is more compact in the way the data is structured
97
+ // here (with all the buckets in a single array separate from the
98
+ // Spans).
99
message Span {
100
optional sint32 offset = 1; // Gap to previous span, or starting point for 1st span (which can be negative).
101
optional uint32 length = 2; // Length of consecutive buckets.
0 commit comments