-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Comparing changes
Open a pull request
base repository: prometheus/prometheus
base: v3.11.1
head repository: prometheus/prometheus
compare: v3.11.2
- 10 commits
- 17 files changed
- 4 contributors
Commits on Apr 9, 2026
-
discovery/consul: add health_filter for Health API filtering
The filter field was documented as targeting the Catalog API but since PR #17349 it was also passed to the Health API. This broke existing configs using Catalog-only fields like ServiceTags, which the Health API rejects (it uses Service.Tags instead). Introduce a separate health_filter field that is passed exclusively to the Health API, while filter remains catalog-only. Update the docs to explain the two-phase discovery (Catalog for service listing, Health for instances) and the field name differences between the two APIs. Fixes #18479 Signed-off-by: Julien Pivotto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e73d2f - Browse repository at this point
Copy the full SHA 1e73d2fView commit details
Commits on Apr 10, 2026
-
discovery/consul: fix catalog watch trigger and improve filter tests
When health_filter is set without explicit services, the catalog needs to be watched to enumerate services. Add watchedFilter to the condition that triggers catalog watching. Improve the filter test suite: - Replace defer with t.Cleanup for stub servers. - Rewrite TestFilterOption to assert that the catalog receives the filter and the health endpoint does not. - Rewrite TestHealthFilterOption to assert that health_filter is routed correctly to the health endpoint only. - Add TestBothFiltersOption to verify both filters are routed to their respective endpoints when both are configured. Signed-off-by: Julien Pivotto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4cc5080 - Browse repository at this point
Copy the full SHA 4cc5080View commit details -
UI: Fix stored XSS via unescaped metric names and labels
Metric names, label names, and label values containing HTML/JavaScript were inserted into `innerHTML` without escaping in several UI code paths, enabling stored XSS attacks via crafted metrics. This mostly becomes exploitable in Prometheus 3.x, since it defaults to allowing any UTF-8 characters in metric and label names. Apply `escapeHTML()` to all user-controlled values before innerHTML insertion in: * Mantine UI chart tooltip * Old React UI chart tooltip * Old React UI metrics explorer fuzzy search * Old React UI heatmap tooltip See GHSA-vffh-x6r8-xx99 Signed-off-by: Julius Volz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fddbccf - Browse repository at this point
Copy the full SHA fddbccfView commit details -
Merge pull request #18506 from roidelapluie/roidelapluie/backport-xss…
…-issue UI: Fix stored XSS via unescaped metric names and labels
Configuration menu - View commit details
-
Copy full SHA for e95d2e3 - Browse repository at this point
Copy the full SHA e95d2e3View commit details -
Update docs/configuration/configuration.md
Co-authored-by: George Krajcsovits <[email protected]> Signed-off-by: Julien <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d09ea56 - Browse repository at this point
Copy the full SHA d09ea56View commit details -
Merge pull request #18499 from roidelapluie/roidelapluie/consul-healt…
…h-filter-3.11 discovery/consul: add health_filter for Health API filtering
Configuration menu - View commit details
-
Copy full SHA for fac097b - Browse repository at this point
Copy the full SHA fac097bView commit details -
config: add consul health_filter fixture coverage
Signed-off-by: Mohammad Varmazyar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06b7f1f - Browse repository at this point
Copy the full SHA 06b7f1fView commit details
Commits on Apr 13, 2026
-
Merge pull request #18510 from mrvarmazyar/fix/consul-health-filter-c…
…onfig-fixtures config: add consul health_filter fixture coverage
Configuration menu - View commit details
-
Copy full SHA for 931b2da - Browse repository at this point
Copy the full SHA 931b2daView commit details -
Signed-off-by: Julien Pivotto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f08b983 - Browse repository at this point
Copy the full SHA f08b983View commit details -
Merge pull request #18517 from roidelapluie/roidelapluie/cut-3.11.2
Release 3.11.2
Configuration menu - View commit details
-
Copy full SHA for f0f0fdd - Browse repository at this point
Copy the full SHA f0f0fddView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.11.1...v3.11.2