prometheus/storage/remote
harsh kumar 16a9a827de
Some checks failed
buf.build / lint and publish (push) Has been cancelled
CI / Go tests (push) Has been cancelled
CI / More Go tests (push) Has been cancelled
CI / Go tests with previous Go version (push) Has been cancelled
CI / UI tests (push) Has been cancelled
CI / Go tests on Windows (push) Has been cancelled
CI / Mixins tests (push) Has been cancelled
CI / Build Prometheus for common architectures (push) Has been cancelled
CI / Build Prometheus for all architectures (push) Has been cancelled
CI / Check generated parser (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / fuzzing (push) Has been cancelled
CI / codeql (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CI / Report status of build Prometheus for all architectures (push) Has been cancelled
CI / Publish main branch artifacts (push) Has been cancelled
CI / Publish release artefacts (push) Has been cancelled
CI / Publish UI on npm Registry (push) Has been cancelled
remote-write: Add type and unit labels to 2.0 receiver when feature flag enabled (#17329)
* feat(remote): add support for type and unit labels in write handler

Signed-off-by: Harsh <harshmastic@gmail.com>

* minor fixes

Signed-off-by: Harsh <harshmastic@gmail.com>

* fix failing tests

Signed-off-by: Harsh <harshmastic@gmail.com>

* Update storage/remote/write_handler.go

Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: harsh kumar <135993950+hxrshxz@users.noreply.github.com>

* Update storage/remote/write_handler.go

Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: harsh kumar <135993950+hxrshxz@users.noreply.github.com>

* refactor: streamline label handling for type and unit in write handler tests

Signed-off-by: Harsh <harshmastic@gmail.com>

* test: enhance V2 message tests for type and unit labels

Signed-off-by: Harsh <harshmastic@gmail.com>

---------

Signed-off-by: Harsh <harshmastic@gmail.com>
Signed-off-by: harsh kumar <135993950+hxrshxz@users.noreply.github.com>
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
2025-10-15 18:19:41 +01:00
..
azuread Replace gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (#17151) 2025-09-06 13:04:24 +02:00
googleiam feat: add Google cloud roundtripper for remote write (#14346) 2024-07-30 16:25:19 +01:00
otlptranslator/prometheusremotewrite Phase out native histogram feature flag 2025-10-15 14:50:52 +02:00
chunked.go Add streaming remote read to ReadClient (#11379) 2024-08-28 07:23:54 +01:00
chunked_test.go fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 2024-10-06 16:35:29 +00:00
client.go remote.ReadClient: allow multiple queries (#16742) 2025-08-14 15:00:07 +02:00
client_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
codec.go better errors naming and formatting, typo fixes 2025-09-23 11:20:55 +02:00
codec_test.go better errors naming and formatting, typo fixes 2025-09-23 11:20:55 +02:00
dial_context.go [ENHANCEMEN] Remote-Write: optionally use a DNS resolver that picks a random IP (#15329) 2024-11-15 15:41:49 +00:00
dial_context_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
ewma.go style: Replace else if cascades with switch 2023-04-19 17:22:31 +02:00
intern.go fix: storage/remote.pool interned refs count and flaky test (#16335) 2025-03-27 21:04:30 +01:00
intern_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
max_timestamp.go chore(storage/remote): collect maxTimestamp when value is 0 as well. 2024-07-11 16:43:58 +02:00
metadata_watcher.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
metadata_watcher_test.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
queue_manager.go chore: allow seamless use of testing/synctest for >=go1.24 2025-09-19 22:48:25 +02:00
queue_manager_test.go chore: allow seamless use of testing/synctest for >=go1.24 2025-09-19 22:48:25 +02:00
read.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
read_handler.go fix(remote): rename some remote read related metrics for better clarity. 2024-12-06 17:09:00 +01:00
read_handler_test.go Fix linting issues found by golangci-lint v2.0.2 (#16368) 2025-05-03 19:05:13 +02:00
read_test.go Reapply "prw: use Unit and Type labels for metadata when feature flag is enabled (#17033)" 2025-08-29 08:16:37 +01:00
stats.go [PRW 2.0] Added Sender and RW Handler support for Response Stats. (#14444) 2024-07-19 18:53:40 +01:00
storage.go Replace gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (#17151) 2025-09-06 13:04:24 +02:00
storage_test.go Reapply "prw: use Unit and Type labels for metadata when feature flag is enabled (#17033)" 2025-08-29 08:16:37 +01:00
write.go chore: deprecate prometheus_remote_storage_{samples,exemplars,histograms}_in_total and prometheus_remote_storage_highest_timestamp_in_seconds 2025-09-01 13:19:28 +02:00
write_handler.go remote-write: Add type and unit labels to 2.0 receiver when feature flag enabled (#17329) 2025-10-15 18:19:41 +01:00
write_handler_test.go remote-write: Add type and unit labels to 2.0 receiver when feature flag enabled (#17329) 2025-10-15 18:19:41 +01:00
write_test.go OTLP to directly write to an interface which can hide storage details (#16951) 2025-09-08 14:34:25 +02:00