prometheus/cmd/promtool
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 promtool: Add more negative alert tests 2021-02-15 17:00:49 +00:00
archive.go Make file permissions set to allow for wider umask options. (#7782) 2020-08-12 23:23:17 +02:00
backfill_test.go Increase block writer size for backfilling 2021-02-17 15:45:41 +05:30
backfill.go Combine Appender.Add and AddFast into a single Append method. (#8489) 2021-02-18 17:37:00 +05:30
debug.go collect cpu and trace profiles with the promtool debug command (#4897) 2018-11-23 17:57:31 +02:00
main_test.go promtool: Add URL scheme when not provided (#7956) 2020-12-23 19:52:04 +01:00
main.go Print details of API errors 2021-02-15 23:42:06 +01:00
tsdb.go Combine Appender.Add and AddFast into a single Append method. (#8489) 2021-02-18 17:37:00 +05:30
unittest_test.go promtool: Calculate mint and maxt per test (#8096) 2020-10-24 12:03:55 +01:00
unittest.go promtool: alert_rule_test items require alertname 2021-02-17 16:23:12 +01:00