prometheus/scrape
Arthur Silva Sens 7aacef9b42
bugfix: Decouple native histogram ingestions and protobuf parsing
Up until this point, if a scrape was done with the protobuf format Prometheus would always try to ingest native histograms even with the feature flag disabled. This causes problems with other feature-flags that depend on the protobuf format, like 'created-timestamp-zero-ingestion'. This commit decouples native histogram parsing from ingestion, making sure ingestion only happens when the 'native-histogram' feature-flag is enabled.

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2024-04-24 17:02:52 -03:00
..
testdata Re-generate test cert to fix test_windows test failures 2022-03-17 19:37:18 +01:00
clientprotobuf.go Update according to code review 2023-05-05 02:33:00 +08:00
helpers_test.go scrape tests: check NaN values directly 2024-02-08 19:30:20 +00:00
manager.go bugfix: Decouple native histogram ingestions and protobuf parsing 2024-04-24 17:02:52 -03:00
manager_test.go golangci-lint: enable whitespace linter (#13905) 2024-04-11 09:27:54 +01:00
metrics.go support unregistering scrape manager metrics 2024-04-05 16:00:52 +00:00
scrape.go bugfix: Decouple native histogram ingestions and protobuf parsing 2024-04-24 17:02:52 -03:00
scrape_test.go bugfix: Decouple native histogram ingestions and protobuf parsing 2024-04-24 17:02:52 -03:00
target.go scraping: pass a Builder to get Target labels 2024-02-26 11:45:25 +00:00
target_test.go golangci-lint: enable whitespace linter (#13905) 2024-04-11 09:27:54 +01:00