prometheus/storage/remote
beorn7 71c21fb9e4 Fix minor issues after applying analyzer "modernize"
- The tool left an empty line behind that we don't need anymore, see
  https://github.com/prometheus/prometheus/pull/17092. (Arguably not a
  bug in the tool but just our stricter style about empty lines.)

- In tsdb/index/postings_test.go , our (admittedly somewhat
  convoluted) code structure tricked the tool so it spit out something
  that wouldn't even compile.

- storage/remote/queue_manager_test.go is just a minor formatting
  nit.

Signed-off-by: beorn7 <beorn@grafana.com>
2025-08-27 15:44:11 +02:00
..
azuread Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
googleiam feat: add Google cloud roundtripper for remote write (#14346) 2024-07-30 16:25:19 +01:00
otlptranslator/prometheusremotewrite Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +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 Make metric/label name validation scheme explicit (#16928) 2025-08-18 08:09:00 +00:00
codec_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +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 Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
queue_manager_test.go Fix minor issues after applying analyzer "modernize" 2025-08-27 15:44:11 +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 remote.ReadClient: allow multiple queries (#16742) 2025-08-14 15:00:07 +02: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 Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
storage_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
write.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
write_handler.go Remote write: Return after writing error response for invalid compression (#17050) 2025-08-17 15:18:47 +00:00
write_handler_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
write_test.go Make metric/label name validation scheme explicit (#16928) 2025-08-18 08:09:00 +00:00