Skip to content

Support scraping native histograms from the prometheus CRDs#4750

Merged
dehaansa merged 3 commits intomainfrom
crd-native-histograms-mark2
Dec 4, 2025
Merged

Support scraping native histograms from the prometheus CRDs#4750
dehaansa merged 3 commits intomainfrom
crd-native-histograms-mark2

Conversation

@dehaansa
Copy link
Contributor

PR Description

There was an additional issue with the CRD implementation in Alloy preventing native histogram ingestion. This should resolve the issue.

@dehaansa dehaansa requested review from a team and clayton-cornell as code owners October 31, 2025 20:03
@dehaansa dehaansa added the publish-dev:linux builds and deploys an image to grafana/alloy-dev container repository label Oct 31, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 31, 2025

💻 Deploy preview deleted (Support scraping native histograms from the prometheus CRDs).

@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Oct 31, 2025
Copy link
Contributor

@clayton-cornell clayton-cornell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 on the doc changes

@furkansb
Copy link

Any progress on this? We're waiting for it to enable scraping native histograms on our monitoring stack

|----------------------------|------------|------------------------------------------------------------------------------------------------------------------------------|---------|----------|
| `default_scrape_interval` | `duration` | The default interval between scraping targets. Used as the default if the target resource doesn't provide a scrape interval. | `1m` | no |
| `default_scrape_timeout` | `duration` | The default timeout for scrape requests. Used as the default if the target resource doesn't provide a scrape timeout. | `10s` | no |
| `enable_native_histograms` | `bool` | Allow the scrape manager to ingest native histograms. | `false` | no |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `enable_native_histograms` | `bool` | Allow the scrape manager to ingest native histograms. | `false` | no |
| `scrape_native_histograms` | `bool` | Allow the scrape manager to ingest native histograms. | `false` | no |

What do you think? This is what we have named this setting in prometheus.scrape

@kalleep kalleep self-requested a review November 11, 2025 12:44
@dehaansa dehaansa merged commit 86b3c7d into main Dec 4, 2025
44 checks passed
@dehaansa dehaansa deleted the crd-native-histograms-mark2 branch December 4, 2025 17:05
dehaansa added a commit to madhub/alloy that referenced this pull request Dec 10, 2025
…4750)

* Support scraping native histograms from the prometheus CRDs

* Rename based on PR feedback
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age publish-dev:linux builds and deploys an image to grafana/alloy-dev container repository type/docs Docs Squad label across all Grafana Labs repos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants