prometheus/storage/remote
Bryan Boreham abd9909595 Update package storage/remote for new labels.Labels type
`QueueManager.externalLabels` becomes a slice rather than a `Labels` so
we can index into it when doing the merge operation.

Note we avoid calling `Labels.Len()` in `labelProtosToLabels()`.
It isn't necessary - `append()` will enlarge the buffer and we're
expecting to re-use it many times.

Also, we now validate protobuf input before converting to Labels.
This way we can detect errors first, and we don't place unnecessary
requirements on the Labels structure.

Re-do seriesFilter using labels.Builder (albeit N^2).

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-12-19 15:22:09 +00:00
..
chunked.go (storage): move from github.com/pkg/errors to 'errors' and 'fmt' (#10946) 2022-07-01 18:59:50 +02:00
chunked_test.go
client.go (storage): move from github.com/pkg/errors to 'errors' and 'fmt' (#10946) 2022-07-01 18:59:50 +02:00
client_test.go (storage): move from github.com/pkg/errors to 'errors' and 'fmt' (#10946) 2022-07-01 18:59:50 +02:00
codec.go Update package storage/remote for new labels.Labels type 2022-12-19 15:22:09 +00:00
codec_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
ewma.go
intern.go
intern_test.go
max_timestamp.go
metadata_watcher.go (storage): move from github.com/pkg/errors to 'errors' and 'fmt' (#10946) 2022-07-01 18:59:50 +02:00
metadata_watcher_test.go (storage): move from github.com/pkg/errors to 'errors' and 'fmt' (#10946) 2022-07-01 18:59:50 +02:00
queue_manager.go Update package storage/remote for new labels.Labels type 2022-12-19 15:22:09 +00:00
queue_manager_test.go Merge remote-tracking branch 'upstream/main' into fix-conflict 2022-10-12 14:20:02 +05:30
read.go Update package storage/remote for new labels.Labels type 2022-12-19 15:22:09 +00:00
read_handler.go remote/read_handler: pool input to Marshal() (#11357) 2022-11-15 16:29:16 +01:00
read_handler_test.go remote/read_handler: pool input to Marshal() (#11357) 2022-11-15 16:29:16 +01:00
read_test.go storage/remote: in tests use labels.FromStrings 2022-09-09 13:34:49 +02:00
storage.go storage/remote: in tests use labels.FromStrings 2022-09-09 13:34:49 +02:00
storage_test.go storage/remote: in tests use labels.FromStrings 2022-09-09 13:34:49 +02:00
write.go Merge remote-tracking branch 'upstream/main' into fix-conflict 2022-10-12 14:20:02 +05:30
write_handler.go Correctly handle error unwrapping in rules and remote write receiver 2022-12-15 12:50:55 +01:00
write_handler_test.go Merge branch 'main' into sparsehistogram 2022-08-10 17:54:37 +02:00
write_test.go Removing global state modification on unit tests (fix #10033 #10034) (#10935) 2022-06-30 10:20:16 -06:00