prometheus/pkg
Dieter Plaetinck 58917d1b76
sparsehistogram: integer types and timestamp separation (#9014)
* integer types and timestamp separation

1) unify types to int64. as suggested by beorn. we want to support
   counters going down (resets) even if we plan to create new chunks for
   now, in that case
2) histogram type doesn't know its own timestamp. include it separately
   in appending and iteration

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>

* correction: count and zeroCount to remain unsigned

to make api more resilient and that's what we use in protobuf anyway

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>

* temp hack. Ganesh will fix

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>
2021-06-29 19:27:59 +05:30
..
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 sparsehistogram: integer types and timestamp separation (#9014) 2021-06-29 19:27:59 +05:30
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 Add circular in-memory exemplars storage (#6635) 2021-03-16 15:17:45 +05:30
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