mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
chore: fix some function names in comment
Signed-off-by: jingchanglu <jingchanglu@outlook.com>
This commit is contained in:
parent
b18272a572
commit
9ddb21fccb
2 changed files with 3 additions and 3 deletions
|
|
@ -975,7 +975,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 (j 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…
Reference in a new issue