Skip to content

Enable native histograms by default - #7968

Open
SungJin1212 wants to merge 3 commits into
cortexproject:masterfrom
SungJin1212:enable-native-histograms-by-default
Open

SungJin1212 wants to merge 3 commits into
cortexproject:masterfrom
SungJin1212:enable-native-histograms-by-default

Conversation

@SungJin1212

Copy link
Copy Markdown
Member

What this PR does:
Changes the default of -blocks-storage.tsdb.enable-native-histograms (enable_native_histograms) from false to true, so native histograms are ingested without extra configuration in Cortex.

Native histograms are stable in Prometheus since v3.8, and the Cortex flag graduated from experimental in #7789. With the old default, the ingester discards native histogram samples while the push still succeeds.

The flag can still be set to false, globally or per tenant.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
  • docs/configuration/v1-guarantees.md updated if this PR introduces experimental flags

Signed-off-by: Sungjin1212 <tjdwls1201@gmail.com>
Signed-off-by: Sungjin1212 <tjdwls1201@gmail.com>
Signed-off-by: Sungjin1212 <tjdwls1201@gmail.com>
@SungJin1212
SungJin1212 requested a review from a team as a code owner November 25, 2026 07:26
@SungJin1212
SungJin1212 requested a review from yeya24 November 25, 2026 07:26

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant