mirror of
https://github.com/prometheus/prometheus.git
synced 2025-10-25 14:31:01 +02:00
Merge pull request #16851 from jingchanglu/main
chore: fix some function names in comment
This commit is contained in:
commit
7056c70647
@ -998,7 +998,7 @@ func (h *FloatHistogram) floatBucketIterator(
|
||||
return i
|
||||
}
|
||||
|
||||
// reverseFloatBucketIterator is a low-level constructor for reverse bucket iterators.
|
||||
// newReverseFloatBucketIterator is a low-level constructor for reverse bucket iterators.
|
||||
func newReverseFloatBucketIterator(
|
||||
spans []Span, buckets []float64, schema int32, positive bool, customValues []float64,
|
||||
) reverseFloatBucketIterator {
|
||||
|
||||
@ -51,7 +51,7 @@ func (JSONCodec) Encode(resp *Response) ([]byte, error) {
|
||||
return json.Marshal(resp)
|
||||
}
|
||||
|
||||
// marshalSeriesJSON writes something like the following:
|
||||
// unsafeMarshalSeriesJSON writes something like the following:
|
||||
//
|
||||
// {
|
||||
// "metric" : {
|
||||
@ -108,7 +108,7 @@ func neverEmpty(unsafe.Pointer) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// marshalSampleJSON writes something like the following for normal value samples:
|
||||
// unsafeMarshalSampleJSON writes something like the following for normal value samples:
|
||||
//
|
||||
// {
|
||||
// "metric" : {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user