Debian Patches

Status for prometheus/3.5.3+ds1-1

Patch Description Author Forwarded Bugs Origin Last update
0001-Disable-xDS-SD.patch Disable xDS service discovery

This requires modules not present in Debian.
Guillem Jover <gjover@sipwise.com> not-needed 2025-02-09
0002-Disable-Consul-SD.patch Disable Consul service discovery

Disable Consul SD, as its Debian package has lots of problems.
Martina Ferrari <tina@debian.org> not-needed 2025-02-09
0003-Disable-Nomad-SD.patch Disable Nomad service discovery

The requisite build-dependencies for Nomad service discovery do not
exist as Debian packages.
Daniel Swarbrick <dswarbrick@debian.org> not-needed 2022-10-21
0004-Default-settings.patch Add default settings adapted for Debian Martina Ferrari <tina@debian.org> not-needed 2022-03-12
0005-Fix-test-prom-invocations.patch Fix prometheus invocations, paths for debian build system, and avoid recompiling prometheus. Martina Ferrari <tina@debian.org> not-needed 2022-03-16
0006-Do-not-embed-blobs.patch Do not embed blobs

Avoid embedding blobs into the prometheus binary, instead use files
installed on disk.
Martina Ferrari <tina@debian.org> not-needed 2022-03-14
0007-Revert-kingpin-import-path.patch Revert alecthomas/kingpin import path

Newer versions of alecthomas/kingpin use a different import path. This patch
can be dropped once the golang-gopkg-alecthomas-kingpin.v2-dev package is
updated and provides the new import path.
Daniel Swarbrick <dswarbrick@debian.org> not-needed 2023-07-07
0008-Disable-write-documentation-flag.patch Disable write-documentation flag / command

This functionality requires a newer version of the alecthomas/kingpin
package, which has not yet landed in unstable.
Daniel Swarbrick <dswarbrick@debian.org> not-needed 2025-02-08
0009-Disable-Azure-AD-authentication-support.patch Disable Azure AD authentication support

The packaged azure-sdk-for-go in Debian does not include support for
Azure AD auth.
Daniel Swarbrick <dswarbrick@debian.org> not-needed 2023-07-14
0010-Disable-Azure-SD.patch Disable Azure SD
The current golang-github-azure-azure-sdk-for-go-dev package is too
outdated, and it does not include the newer APIs that Prometheus is
using.
Martina Ferrari <tina@debian.org> no 2025-02-09
0011-Disable-OTLP-Ingestion-endpoint.patch Disable OTLP Ingestion endpoint
This depends on code not yet in Debian.
Martina Ferrari <tina@debian.org> no 2025-02-09
0012-Backport-fixes-for-32-bit-archs.patch Backport fixes for 32-bit archs

Adapted from pull request #15548 (318d6bc4b)
Martina Ferrari <tina@debian.org> not-needed 2025-02-12
0013-Avoid-various-resources-related-test-failures.patch Avoid various resources-related test failures
Skip or adjust tests know to fail in certain architectures due to memory
exhaustion, CPU contention, or timing.
Martina Ferrari <tina@debian.org> not-needed upstream 2025-02-17
0015-Update-informer-watch-error-handler-for-client-go.patch The signature of cache.DefaultWatchErrorHandler in k8s.io/client-go changed in v0.33.0:
.
Before: func(r *cache.Reflector, err error)
After: func(ctx context.Context, r *cache.Reflector, err error)
.
Prometheus Kubernetes discovery still called the old variant, which
breaks the build after bumping client-go.
.
In addition, informers now require setting the handler via
SetWatchErrorHandlerWithContext instead of SetWatchErrorHandler.
.
This patch updates informerWatchErrorHandler to accept a context
parameter and updates informer creation code to use
SetWatchErrorHandlerWithContext. This restores compatibility with
client-go >= v0.33.0 and allows Prometheus to build successfully.
Arthur Diniz <arthurbdiniz@gmail.com> not-needed upstream other, https://patch-diff.githubusercontent.com/raw/prometheus/prometheus/pull/16768.patch 2025-09-02
0016-Support-prometheus-common-v0.66.0.patch Support prometheus/common v0.66.0 Reinhard Tartler <siretart@tauware.de> no 2026-06-18
0017-Update-otel-semconv-version.patch Update expected otel semconv version. Upstream appears to perform this in a mechanical fashion when updating go.mod. Mathias Gibbens <gibmat@debian.org> not-needed 2026-06-17
0018-Disable-OpenStack-service-discovery.patch Disable OpenStack service discovery
The golang-github-gophercloud-gophercloud-v2-dev package is
not available in Debian.
Debian Go Packaging Team <team+pkg-go@tracker.debian.org> no 2026-06-17
0019-Disable-StackIT-service-discovery.patch Disable StackIT service discovery
The golang-github-stackitcloud-stackit-sdk-go-core-dev package is
not available in Debian.
Debian Go Packaging Team <team+pkg-go@tracker.debian.org> no 2026-06-17
0020-Remove-klog-slog-bridge-due-to-missing-functions-in-.patch Remove klog slog bridge due to missing functions in Debian klog package Reinhard Tartler <siretart@tauware.de> no 2026-06-17
0021-Remove-expfmt.WithUnit-from-scrape-test.patch Remove expfmt.WithUnit from scrape test
expfmt.WithUnit() was removed in prometheus/common v0.68.0.
This is the version packaged in Debian.
Reinhard Tartler <siretart@tauware.de> not-needed 2026-06-18
0022-Disable-failing-tests.patch Disable failing tests Reinhard Tartler <siretart@tauware.de> no 2026-06-18
0024-Disable-UI-flags-in-CLI-help.patch Disable UI flags in CLI help
Since the UI is entirely disabled in Debian due to DFSG and build
tooling limitations (node-vite/rust-rolldown), exposing the 'old-ui'
feature flag and 'UI' in the listen-address help string causes
unnecessary user confusion.
Reinhard Tartler <siretart@tauware.de> not-needed 2026-07-01
0023-Use-UTF8Validation-for-TextParser-to-fix-test-panics.patch Use UTF8Validation for TextParser to fix test panics

When dropping the legacy label validation patch, the
expfmt.TextParser zero-value constructor will panic in newer
versions of prometheus/common if a validation scheme is not
explicitly set. This updates all instances of expfmt.TextParser
to use expfmt.NewTextParser(model.UTF8Validation).
Reinhard Tartler <siretart@tauware.de> not-needed debian vendor, Debian 2026-07-02

All known versions for source package 'prometheus'

Links