prometheus/pkg
beorn7 c35f138a9a Be more specific when identifying a sparse histogram
It's a prefectly valid use case to have a sparse histogram with a zero
threshold of zero (i.e. only observations of exactly zero go into the
zero bucket). Even if the current PoC implementation of client_golang
doesn't allow that, such a case should be ingested properly.

However, there is now the edge case af a sparse histogram with a zero
threshold of zero and no observations yet. Such a histogram would look
the same if it was meant to be a conventional histogram. For now, we
ingest this case as a conventional histogram, but the final format
should have means to unambiguously express if a histogram is meant to
be ingested as a sparse histogram or as a conventional histogram.

Signed-off-by: beorn7 <beorn@grafana.com>
2021-07-19 19:58:04 +02:00
..
exemplar Add Exemplar Remote Write support (#8296) 2021-05-06 13:53:52 -07:00
gate Fix exported function comments (#6002) 2019-09-10 14:45:09 +01:00
histogram clarify 2021-07-05 15:56:19 +03:00
labels Update Makefile.common 2021-04-13 09:33:45 +02:00
logging Switched to go-kit/log 2021-06-11 12:28:36 -04:00
modtimevfs *: check that assets are up-to-date (#4731) 2018-11-09 11:31:36 +01:00
pool Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
relabel Add hashmod relabeling test with hasmod and a newline 2021-03-02 23:01:22 +01:00
rulefmt fixes yamllint errors 2021-06-12 12:47:47 +02:00
runtime Fix golint issues. 2020-03-23 20:38:43 +01:00
textparse Be more specific when identifying a sparse histogram 2021-07-19 19:58:04 +02:00
timestamp '@ <timestamp>' modifier (#8121) 2021-01-20 16:27:39 +05:30
value Fix spelling/typos (#4921) 2018-11-27 17:44:29 +01:00