prometheus/storage/remote
bwplotka 9385f31147
Some checks failed
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 (0) (push) Has been cancelled
CI / Build Prometheus for common architectures (1) (push) Has been cancelled
CI / Build Prometheus for common architectures (2) (push) Has been cancelled
CI / Build Prometheus for all architectures (0) (push) Has been cancelled
CI / Build Prometheus for all architectures (1) (push) Has been cancelled
CI / Build Prometheus for all architectures (10) (push) Has been cancelled
CI / Build Prometheus for all architectures (11) (push) Has been cancelled
CI / Build Prometheus for all architectures (2) (push) Has been cancelled
CI / Build Prometheus for all architectures (3) (push) Has been cancelled
CI / Build Prometheus for all architectures (4) (push) Has been cancelled
CI / Build Prometheus for all architectures (5) (push) Has been cancelled
CI / Build Prometheus for all architectures (6) (push) Has been cancelled
CI / Build Prometheus for all architectures (7) (push) Has been cancelled
CI / Build Prometheus for all architectures (8) (push) Has been cancelled
CI / Build Prometheus for all architectures (9) (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
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
scrape: Fix metadata in WAL not working for histograms and summaries.
The was a bug (due to confusion?) on the local metadata cache that is cached
by metric family not the series metric name. The fix is to NOT use that local cache
at all (it's still needed for current metadata API implementation, added TODO
on how we can get rid of it).

I went ahead and also rename Metric field in metadata structs to MetricFamily to make
clear it's not always __name__.

Signed-off-by: bwplotka <bwplotka@gmail.com>
2025-01-15 20:12:38 +00:00
..
azuread enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00
googleiam feat: add Google cloud roundtripper for remote write (#14346) 2024-07-30 16:25:19 +01:00
otlptranslator otlp/translator: Use separate function for metric names with UTF8 characters (#15664) 2025-01-06 11:30:39 -03: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 [ENHANCEMEN] Remote-Write: optionally use a DNS resolver that picks a random IP (#15329) 2024-11-15 15:41:49 +00:00
client_test.go Add streaming remote read to ReadClient (#11379) 2024-08-28 07:23:54 +01:00
codec.go Add streaming remote read to ReadClient (#11379) 2024-08-28 07:23:54 +01:00
codec_test.go Support ingesting PWRv2's Created Timestamp as 0 samples 2024-12-20 10:48:46 -03: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 [ENHANCEMEN] Remote-Write: optionally use a DNS resolver that picks a random IP (#15329) 2024-11-15 15:41:49 +00:00
ewma.go style: Replace else if cascades with switch 2023-04-19 17:22:31 +02:00
intern.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
intern_test.go Upgrade to golangci-lint v1.62.0 (#15424) 2024-11-20 17:22:20 +01: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 Fix issues raised by staticcheck (#15722) 2025-01-09 17:51:26 +01:00
metadata_watcher_test.go scrape: Fix metadata in WAL not working for histograms and summaries. 2025-01-15 20:12:38 +00:00
queue_manager.go scrape: Fix metadata in WAL not working for histograms and summaries. 2025-01-15 20:12:38 +00:00
queue_manager_test.go scrape: Fix metadata in WAL not working for histograms and summaries. 2025-01-15 20:12:38 +00:00
read.go Add streaming remote read to ReadClient (#11379) 2024-08-28 07:23:54 +01:00
read_handler.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
read_handler_test.go fix(bstream/writeByte): ensure it appends only one byte (#14854) 2024-09-17 16:28:33 +02:00
read_test.go fix(test): adjust defer invocations (#14996) 2024-09-27 17:13:51 +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 chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
storage_test.go [PRW 2.0] Merging remote-write-2.0 feature branch to main (PRW 2.0 support + metadata in WAL) (#14395) 2024-07-04 14:29:20 -07:00
write.go [ENHANCEMEN] Remote-Write: optionally use a DNS resolver that picks a random IP (#15329) 2024-11-15 15:41:49 +00:00
write_handler.go remote/otlp: convert delta to cumulative (#15165) 2025-01-14 11:33:31 -03:00
write_handler_test.go fix linter 2024-12-20 10:48:46 -03:00
write_test.go remote/otlp: convert delta to cumulative (#15165) 2025-01-14 11:33:31 -03:00