György Krajcsovits 44ebbb8458 Fix missing histogram copy in sampleRing
The specialized version of sample add to the ring:
func addH(s hSample, buf []hSample, r *sampleRing) []hSample
func addFH(s fhSample, buf []fhSample, r *sampleRing) []fhSample
already correctly copy histogram samples from the reused hReader, fhReader
buffers, but the generic version does not. This means that the
data is overwritten on the next read if the sample ring has seen histogram
and float samples at the same time and switched to generic mode.

The `genericAdd` function (which was commented anyway) is by now quite
different from the specialized functions so that this commit deletes
it.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2024-10-02 13:57:28 +02:00
..
2024-09-18 15:23:46 +01:00
2024-01-17 22:26:32 +08:00
2024-09-10 22:32:03 +02:00
2023-11-11 19:22:06 +01:00
2024-08-14 13:41:44 +01:00
2021-02-22 20:28:02 +01:00
2024-09-10 22:32:03 +02:00
2024-09-10 22:32:03 +02:00
2024-09-26 11:29:22 -03:00
2023-12-11 12:18:54 +00:00
2024-09-17 12:18:31 +02:00
2022-10-07 16:20:20 +00:00
2023-12-11 12:18:54 +00:00

TSDB

GoPkg

This directory contains the Prometheus TSDB (Time Series DataBase) library, which handles storage and querying of all Prometheus v2 data.

Documentation

External resources

A series of blog posts explaining different components of TSDB: