prometheus/cmd/prometheus
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489)
This moves the label lookup into TSDB, whilst still keeping the cached-ref optimisation for repeated Appends.

This makes the API easier to consume and implement.  In particular this change is motivated by the scrape-time-aggregation work, which I don't think is possible to implement without it as it needs access to label values.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2021-02-18 17:37:00 +05:30
..
testdata End-to-end Query Log test (#6600) 2020-01-19 21:56:13 +00:00
main.go Combine Appender.Add and AddFast into a single Append method. (#8489) 2021-02-18 17:37:00 +05:30
main_test.go Combine Appender.Add and AddFast into a single Append method. (#8489) 2021-02-18 17:37:00 +05:30
main_unix_test.go test: add buffer to channel to avoid goroutine leak (#8274) 2020-12-10 09:09:21 +00:00
query_log_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00