Histogram returns the bytes of a series with a sparse histogram as a value, the timestamp if set, and the histogram in the current sample. Depending on the parsed input, the function returns an (integer) Histogram or a FloatHistogram, with the respective other return value being nil. TODO(bwplotka):
()
| 42 | // We already accepted in many places (PRW, proto parsing histograms) that 0 timestamp is not a |
| 43 | // a valid timestamp. If needed it can be represented as 0+1ms. |
| 44 | Histogram() ([]byte, *int64, *histogram.Histogram, *histogram.FloatHistogram) |
| 45 | |
| 46 | // Help returns the metric name and help text in the current entry. |
| 47 | // Must only be called after Next returned a help entry. |
no outgoing calls