prometheus/cmd/prometheus
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 End-to-end Query Log test (#6600) 2020-01-19 21:56:13 +00:00
main.go bugfix: Decouple native histogram ingestions and protobuf parsing 2024-04-24 17:02:52 -03:00
main_test.go Refactor cmd tests to use testify. 2024-02-01 13:51:31 +00:00
main_unix_test.go tests: remove err from message when testify prints it already 2024-02-01 14:18:01 +00:00
query_log_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00