prometheus/storage
Bartlomiej Plotka 0c87643abd
[PRW 2.0] write_handler: Support for rc.2 spec & improved error handling for v2. (#14427)
* [PRW 2.0] write_handler: Support for rc.2 spec & improved error handling for v2.

Fixes: https://github.com/prometheus/prometheus/issues/14359

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Addressed Callum comments.

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Added missing lock on flush.

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Fixed lint.

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Added tests.

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Addressed Callum's comments & updated re spec.

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Update storage/remote/write_handler_test.go

Co-authored-by: Callum Styan <callumstyan@gmail.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

---------

Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Co-authored-by: Callum Styan <callumstyan@gmail.com>
2024-07-12 08:11:38 +01:00
..
remote [PRW 2.0] write_handler: Support for rc.2 spec & improved error handling for v2. (#14427) 2024-07-12 08:11:38 +01:00
buffer.go storage: simplify sampleRing fix 2024-03-05 15:41:18 +01:00
buffer_test.go SampleRingIterator: add currType field 2024-03-01 14:59:19 +01:00
errors.go tsdb: add details to duplicate sample error (#13277) 2024-06-04 08:54:09 +01:00
fanout.go storage: skip merging when no remote storage configured 2024-01-18 17:50:06 +00:00
fanout_test.go Split warnings and info annotations in API response (#14327) 2024-07-06 11:05:00 +02:00
generic.go Add warnings (and annotations) to PromQL query results (#12152) 2023-09-14 18:57:31 +02:00
interface.go tsdb: add details to duplicate sample error (#13277) 2024-06-04 08:54:09 +01:00
lazy.go Add warnings (and annotations) to PromQL query results (#12152) 2023-09-14 18:57:31 +02:00
memoized_iterator.go Optimize histogram iterators (#13340) 2024-01-23 17:02:14 +01:00
memoized_iterator_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
merge.go Merge branch 'main' into elide-queriers 2024-06-24 11:17:33 +01:00
merge_test.go Merge branch 'main' into elide-queriers 2024-06-24 11:17:33 +01:00
noop.go Add warnings (and annotations) to PromQL query results (#12152) 2023-09-14 18:57:31 +02:00
secondary.go Add warnings (and annotations) to PromQL query results (#12152) 2023-09-14 18:57:31 +02:00
series.go Fix language in docs and comments (#14041) 2024-05-08 17:57:09 +02:00
series_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00