prometheus/storage/remote
Laurent Dufresne 7621eb772c histogram: Add Error type for all histogram errors
`histogram.Error` becomes the generic wrapper type for all histogram errors.
This makes it easier and less error prone when adding new errors to check if
an error is an histogram error as well as making it less error prone to convert
the errors.

This change the type of those specific sentinel errors from error to
`histogram.Error`, but it should almost never matter.
e.g., `errors.Is(err, ErrHistogram...)` would still work out of the box.

Signed-off-by: Laurent Dufresne <laurent.dufresne@grafana.com>
2025-10-30 08:45:34 +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 OTLP: de-duplicate target_info samples with conflicting timestamps (#17400) 2025-10-28 14:13:43 +00: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 feat(promtool): add RW2 support to promtool push metrics using client_golang library (#17280) 2025-10-27 13:56:48 +00: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 [RW]: Adopt client_golang/exp/api/remote types for receiving RW1 and RW2 (#17197) 2025-10-24 10:31:34 +01:00
queue_manager_test.go [RW]: Adopt client_golang/exp/api/remote types for receiving RW1 and RW2 (#17197) 2025-10-24 10:31:34 +01: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 feat(promtool): add RW2 support to promtool push metrics using client_golang library (#17280) 2025-10-27 13:56:48 +00: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 histogram: Add Error type for all histogram errors 2025-10-30 08:45:34 +01:00
write_handler_test.go [RW]: Adopt client_golang/exp/api/remote types for receiving RW1 and RW2 (#17197) 2025-10-24 10:31:34 +01:00
write_test.go feat(promtool): add RW2 support to promtool push metrics using client_golang library (#17280) 2025-10-27 13:56:48 +00:00