Update Prometheus chart from v25 to v29 - #204
Conversation
Signed-off-by: Antonio Gamez Diaz <antonio.gamez@suse.com>
Signed-off-by: Antonio Gamez Diaz <antonio.gamez@suse.com>
Signed-off-by: Antonio Gamez Diaz <antonio.gamez@suse.com>
Signed-off-by: Antonio Gamez Diaz <antonio.gamez@suse.com>
Signed-off-by: Antonio Gamez Diaz <antonio.gamez@suse.com>
Signed-off-by: Antonio Gamez Diaz <antonio.gamez@suse.com>
Signed-off-by: Antonio Gamez Diaz <antonio.gamez@suse.com>
Signed-off-by: Antonio Gamez Diaz <antonio.gamez@suse.com>
Signed-off-by: Antonio Gamez Diaz <antonio.gamez@suse.com>
Signed-off-by: Antonio Gamez Diaz <antonio.gamez@suse.com>
There was a problem hiding this comment.
Pull request overview
This PR upgrades the trento-server Helm chart’s Prometheus subchart dependency to a newer major release and updates the pinned Prometheus server image tag accordingly, along with updating the Helm CLI version used in CI/release workflows.
Changes:
- Bump
prometheus-community/prometheusdependency from the v25.x series to29.10.1and update the chart version. - Update Prometheus server image tag to
v3.12.0and addscrapeConfigs: nullin values. - Update GitHub Actions workflows to install a newer Helm CLI version.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| charts/trento-server/values.yaml | Updates Prometheus server image tag and sets scrapeConfigs: null for newer chart behavior. |
| charts/trento-server/Chart.yaml | Bumps chart version and upgrades Prometheus dependency to 29.10.1. |
| charts/trento-server/Chart.lock | Updates the locked Prometheus dependency version/digest/timestamp. |
| .github/workflows/publish-oci.yaml | Updates Helm CLI version used for packaging/publishing. |
| .github/workflows/ci.yaml | Updates Helm CLI version used for linting/testing charts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| version: ">0.0.0" | ||
| condition: postgresql.enabled | ||
| - name: prometheus | ||
| version: ~25.21.0 | ||
| version: 29.10.1 | ||
| repository: https://prometheus-community.github.io/helm-charts/ |
There was a problem hiding this comment.
This needs to be double checked/aligned with
- local development
- with what is actually available out there (which versions do we have/support on a systemd installation on sles 15.x for instance?)
Referring to this specific change https://github.com/trento-project/helm-charts/pull/204/changes#diff-4dfbe3cdee8f1e71117c7cdd1e4e9077f05039d508f22affb38ca0c6656ee1d0R105 related to the actual version of prometheus.
Signed-off-by: Antonio Gamez Diaz <antonio.gamez@suse.com>
SummaryCVE Scan Results🆕 NEW:
|
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-46597 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-46595 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-42508 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-42506 | golang.org/x/net | v0.53.0 | 0.55.0 |
| CVE-2026-42504 | stdlib | v1.25.9 | 1.25.11, 1.26.4 |
| CVE-2026-42502 | golang.org/x/net | v0.53.0 | 0.55.0 |
| CVE-2026-42499 | stdlib | v1.25.9 | 1.25.10, 1.26.3 |
| CVE-2026-39836 | stdlib | v1.25.9 | 1.25.10, 1.26.3 |
| CVE-2026-39835 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-39830 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-39829 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-39828 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-39827 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-39825 | stdlib | v1.25.9 | 1.25.10, 1.26.3 |
| CVE-2026-39823 | stdlib | v1.25.9 | 1.25.10, 1.26.3 |
| CVE-2026-39821 | golang.org/x/net | v0.53.0 | 0.55.0 |
| CVE-2026-39820 | stdlib | v1.25.9 | 1.25.10, 1.26.3 |
| CVE-2026-33814 | stdlib | v1.25.9 | 1.25.10, 1.26.3 |
| CVE-2026-33811 | stdlib | v1.25.9 | 1.25.10, 1.26.3 |
| CVE-2026-27145 | stdlib | v1.25.9 | 1.25.11, 1.26.4 |
| CVE-2026-27136 | golang.org/x/net | v0.53.0 | 0.55.0 |
| CVE-2026-25681 | golang.org/x/net | v0.53.0 | 0.55.0 |
| CVE-2026-25680 | golang.org/x/net | v0.53.0 | 0.55.0 |
MEDIUM (7)
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-46598 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-42507 | stdlib | v1.25.9 | 1.25.11, 1.26.4 |
| CVE-2026-39834 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-39833 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-39832 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-39831 | golang.org/x/crypto | v0.50.0 | 0.52.0 |
| CVE-2026-39826 | stdlib | v1.25.9 | 1.25.10, 1.26.3 |
🆕 NEW: quay.io/prometheus/alertmanager:v0.32.1
Found 66 CVEs
HIGH (50)
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-46597 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-46597 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-46595 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-46595 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-42508 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-42508 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-42506 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-42506 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-42504 | stdlib | v1.26.2 | 1.25.11, 1.26.4 |
| CVE-2026-42504 | stdlib | v1.26.2 | 1.25.11, 1.26.4 |
| CVE-2026-42502 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-42502 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-42499 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-42499 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39883 | go.opentelemetry.io/otel/sdk | v1.41.0 | 1.43.0 |
| CVE-2026-39883 | go.opentelemetry.io/otel/sdk | v1.41.0 | 1.43.0 |
| CVE-2026-39836 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39836 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39835 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39835 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39830 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39830 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39829 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39829 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39828 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39828 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39827 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39827 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39825 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39825 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39823 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39823 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39821 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-39821 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-39820 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39820 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-33814 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-33814 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-33814 | golang.org/x/net | v0.52.0 | 0.53.0 |
| CVE-2026-33814 | golang.org/x/net | v0.52.0 | 0.53.0 |
| CVE-2026-33811 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-33811 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-27145 | stdlib | v1.26.2 | 1.25.11, 1.26.4 |
| CVE-2026-27145 | stdlib | v1.26.2 | 1.25.11, 1.26.4 |
| CVE-2026-27136 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-27136 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-25681 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-25681 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-25680 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-25680 | golang.org/x/net | v0.52.0 | 0.55.0 |
MEDIUM (16)
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-46598 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-46598 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-42507 | stdlib | v1.26.2 | 1.25.11, 1.26.4 |
| CVE-2026-42507 | stdlib | v1.26.2 | 1.25.11, 1.26.4 |
| CVE-2026-39882 | go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp | v1.41.0 | 1.43.0 |
| CVE-2026-39882 | go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp | v1.41.0 | 1.43.0 |
| CVE-2026-39834 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39834 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39833 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39833 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39832 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39832 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39831 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39831 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39826 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39826 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
🆕 NEW: quay.io/prometheus/node-exporter:v1.11.1
Found 38 CVEs
HIGH (28)
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-46597 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-46595 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-42508 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-42506 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-42504 | stdlib | v1.26.1 | 1.25.11, 1.26.4 |
| CVE-2026-42502 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-42499 | stdlib | v1.26.1 | 1.25.10, 1.26.3 |
| CVE-2026-39836 | stdlib | v1.26.1 | 1.25.10, 1.26.3 |
| CVE-2026-39835 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39830 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39829 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39828 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39827 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39825 | stdlib | v1.26.1 | 1.25.10, 1.26.3 |
| CVE-2026-39823 | stdlib | v1.26.1 | 1.25.10, 1.26.3 |
| CVE-2026-39821 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-39820 | stdlib | v1.26.1 | 1.25.10, 1.26.3 |
| CVE-2026-33814 | stdlib | v1.26.1 | 1.25.10, 1.26.3 |
| CVE-2026-33814 | golang.org/x/net | v0.52.0 | 0.53.0 |
| CVE-2026-33811 | stdlib | v1.26.1 | 1.25.10, 1.26.3 |
| CVE-2026-33810 | stdlib | v1.26.1 | 1.26.2 |
| CVE-2026-32283 | stdlib | v1.26.1 | 1.25.9, 1.26.2 |
| CVE-2026-32281 | stdlib | v1.26.1 | 1.25.9, 1.26.2 |
| CVE-2026-32280 | stdlib | v1.26.1 | 1.25.9, 1.26.2 |
| CVE-2026-27145 | stdlib | v1.26.1 | 1.25.11, 1.26.4 |
| CVE-2026-27136 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-25681 | golang.org/x/net | v0.52.0 | 0.55.0 |
| CVE-2026-25680 | golang.org/x/net | v0.52.0 | 0.55.0 |
MEDIUM (10)
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-46598 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-42507 | stdlib | v1.26.1 | 1.25.11, 1.26.4 |
| CVE-2026-39834 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39833 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39832 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39831 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39826 | stdlib | v1.26.1 | 1.25.10, 1.26.3 |
| CVE-2026-32289 | stdlib | v1.26.1 | 1.25.9, 1.26.2 |
| CVE-2026-32288 | stdlib | v1.26.1 | 1.25.9, 1.26.2 |
| CVE-2026-32282 | stdlib | v1.26.1 | 1.25.9, 1.26.2 |
🆕 NEW: quay.io/prometheus/prometheus:v3.12.0
Found 32 CVEs
HIGH (20)
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-46597 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-46597 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-46595 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-46595 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-42508 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-42508 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-42504 | stdlib | v1.26.3 | 1.25.11, 1.26.4 |
| CVE-2026-42504 | stdlib | v1.26.3 | 1.25.11, 1.26.4 |
| CVE-2026-39835 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39835 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39830 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39830 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39829 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39829 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39828 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39828 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39827 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39827 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-27145 | stdlib | v1.26.3 | 1.25.11, 1.26.4 |
| CVE-2026-27145 | stdlib | v1.26.3 | 1.25.11, 1.26.4 |
MEDIUM (12)
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-46598 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-46598 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-42507 | stdlib | v1.26.3 | 1.25.11, 1.26.4 |
| CVE-2026-42507 | stdlib | v1.26.3 | 1.25.11, 1.26.4 |
| CVE-2026-39834 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39834 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39833 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39833 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39832 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39832 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39831 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
| CVE-2026-39831 | golang.org/x/crypto | v0.51.0 | 0.52.0 |
🆕 NEW: quay.io/prometheus/pushgateway:v1.11.3
Found 3 CVEs
HIGH (2)
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-42504 | stdlib | v1.26.3 | 1.25.11, 1.26.4 |
| CVE-2026-27145 | stdlib | v1.26.3 | 1.25.11, 1.26.4 |
MEDIUM (1)
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-42507 | stdlib | v1.26.3 | 1.25.11, 1.26.4 |
🆕 NEW: registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.19.0
Found 31 CVEs
HIGH (24)
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-46597 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-46595 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-42508 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-42506 | golang.org/x/net | v0.51.0 | 0.55.0 |
| CVE-2026-42504 | stdlib | v1.26.2 | 1.25.11, 1.26.4 |
| CVE-2026-42502 | golang.org/x/net | v0.51.0 | 0.55.0 |
| CVE-2026-42499 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39836 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39835 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39830 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39829 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39828 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39827 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39825 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39823 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-39821 | golang.org/x/net | v0.51.0 | 0.55.0 |
| CVE-2026-39820 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-33814 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-33814 | golang.org/x/net | v0.51.0 | 0.53.0 |
| CVE-2026-33811 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
| CVE-2026-27145 | stdlib | v1.26.2 | 1.25.11, 1.26.4 |
| CVE-2026-27136 | golang.org/x/net | v0.51.0 | 0.55.0 |
| CVE-2026-25681 | golang.org/x/net | v0.51.0 | 0.55.0 |
| CVE-2026-25680 | golang.org/x/net | v0.51.0 | 0.55.0 |
MEDIUM (7)
| CVE ID | Package | Installed | Fixed |
|---|---|---|---|
| CVE-2026-46598 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-42507 | stdlib | v1.26.2 | 1.25.11, 1.26.4 |
| CVE-2026-39834 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39833 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39832 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39831 | golang.org/x/crypto | v0.49.0 | 0.52.0 |
| CVE-2026-39826 | stdlib | v1.26.2 | 1.25.10, 1.26.3 |
This PR updates the Prometheus Helm chart we use, from
v25tov26The major version changes affecting the Helm chart should not be a big deal. However, in v26, they switched to Prometheusv3instead ofv2, which seems reasonable, as v2 is EOLed.As of today, this change reduces the CVEs from 534 to 59.
We could possibly keep chart v29 but override Prometheus to v2. Since I haven't played around with this subchart that much, I'd like to sync with @balanza and decide what to do.
Related TRNT-4394
PS:
Example upgrade plan (AI-generated)
Step 1.2: Update Chart Dependency
Step 1.3: Test in Dev Environment
helm dependency update charts/trento-serverhttp://<prometheus>/prometheus/targetsPhase 2: Prometheus 2.x → 3.x Upgrade (Optional but Recommended)
Step 2.1: Pre-Upgrade Preparation
Review Your Current Setup:
Key Decisions:
Step 2.2: Breaking Changes Impact Assessment
HIGH IMPACT (Likely affects your setup)
Content-Type Header Validation⚠️ CRITICAL
Issue: Prometheus 3 strictly validates scrape target Content-Type headers
Your Risk: Medium - depends on
/api/prometheus/targetsendpoint implementationAction Required:
Mitigation: If targets lack headers, add to scrape config:
HTTP/2 Remote Write Default Change
http_config.enable_http2in remote_write now defaults tofalse(wastrue)--web.enable-remote-write-receiverflag but likely localMEDIUM IMPACT (May affect queries/dashboards)
Label Value Normalization
lelabels change from"1"to"1.0"le="<integer>"le="1.0"instead ofle="1"PromQL Regular Expression Changes
.now matches newlines=~regex operatorsRange Selector Boundary Changes
LOW IMPACT (Unlikely to affect you)
Feature Flags Removed
--web.enable-remote-write-receiver- Already using this, will continue to work--web.enable-lifecycle- Already using this, will continue to workFunction Renaming
holt_winters→double_exponential_smoothingTSDB Format
Step 2.3: Upgrade Execution Plan
Option A: Conservative (Recommended)
Option B: Full Upgrade
Complete all Phase 2.2 assessments
Update configuration:
Test thoroughly in dev environment
Validate:
Step 2.4: Rollback Plan
If issues occur:
Testing Checklist
Chart Upgrade Tests (Phase 1)
helm dependency updatesucceedshelm templaterenders correctlyPrometheus 3.x Upgrade Tests (Phase 2 - if proceeding)
Risk Assessment
Recommended Approach
Immediate (Low Risk)
scrapeConfigs: nullto values.yaml (DONE)helm dependency update charts/trento-serverNear Term (Plan & Test)
/api/prometheus/targetsendpointLater (When Ready)
Commands Reference
Related Documentation
Sign-off