Skip to content

Enable Prometheus plugin by default#144311

Merged
felixbarny merged 7 commits intoelastic:mainfrom
felixbarny:prometheus-enable-by-default
Mar 27, 2026
Merged

Enable Prometheus plugin by default#144311
felixbarny merged 7 commits intoelastic:mainfrom
felixbarny:prometheus-enable-by-default

Conversation

@felixbarny
Copy link
Copy Markdown
Member

Summary

  • Removes the PROMETHEUS_FEATURE_FLAG feature flag so the Prometheus plugin is enabled in all builds, not just snapshots
  • Deletes PrometheusFeatures and its service registration, which only existed to expose a prometheus_plugin cluster feature for skipping yaml tests in release builds
  • Removes the requires: cluster_features: prometheus_plugin guard from the yaml test suite

Removes the feature flag gating the Prometheus plugin so it is enabled in all builds, not just snapshots. Deletes `PrometheusFeatures` and its service registration, which only existed to expose a `prometheus_plugin` cluster feature for skipping yaml tests in release builds.
@felixbarny felixbarny self-assigned this Mar 16, 2026
@elasticsearchmachine elasticsearchmachine added Team:StorageEngine external-contributor Pull request authored by a developer outside the Elasticsearch team v9.4.0 labels Mar 16, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Hi @felixbarny, I've created a changelog YAML for you.

felixbarny and others added 2 commits March 16, 2026 18:54
Restores PrometheusFeatures (without the feature flag check) and its
service registration so that new nodes still advertise the
prometheus_plugin test feature. Without this, nodes running the new
code are rejected when joining a mixed-version test cluster where older
nodes have already activated the prometheus_plugin feature via the
feature ratchet.
@felixbarny felixbarny requested a review from kkrik-es March 26, 2026 17:15
@felixbarny felixbarny merged commit fa512a9 into elastic:main Mar 27, 2026
36 checks passed
@felixbarny felixbarny deleted the prometheus-enable-by-default branch March 27, 2026 09:47
felixbarny added a commit to felixbarny/elasticsearch that referenced this pull request Mar 30, 2026
The flag was removed in elastic#144311 which enabled the Prometheus plugin by
default. The test cluster setup no longer needs to explicitly enable it.
mamazzol pushed a commit to mamazzol/elasticsearch that referenced this pull request Mar 30, 2026
Removes the feature flag gating the Prometheus plugin so it is enabled in all builds, not just snapshots. Deletes `PrometheusFeatures` and its service registration, which only existed to expose a `prometheus_plugin` cluster feature for skipping yaml tests in release builds.
felixbarny added a commit to felixbarny/elasticsearch that referenced this pull request Mar 30, 2026
The flag was removed in elastic#144311 which enabled the Prometheus plugin by
default. The test cluster setup no longer needs to explicitly enable it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>enhancement external-contributor Pull request authored by a developer outside the Elasticsearch team :StorageEngine/TSDB You know, for Metrics Team:StorageEngine v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants