Debian Patches

Status for prometheus/2.45.4+ds-2

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

Disable Kubernetes SD, until dependencies are more reasonable.
Martina Ferrari <tina@debian.org> not-needed 2020-06-20
0002-Disable-xDS-SD.patch Disable xDS service discovery

This requires modules not present in Debian.
Guillem Jover <gjover@sipwise.com> not-needed 2023-07-14
0004-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 2022-10-17
0005-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
0006-Disable-TSDB-lockfile.patch Disable TSDB lockfile

Stop creating a tsdb lockfile by default. Replace
storage.tsdb.no-lockfile flag with storage.tsdb.use-lockfile, so the
default is not to create a lockfile, while still allowing people to
request the feature.
Martina Ferrari <tina@debian.org> not-needed 2022-10-25
0007-Default-settings.patch Add default settings adapted for Debian Martina Ferrari <tina@debian.org> not-needed 2020-06-20
0008-Fix-test-prom-invocations.patch Fix prometheus invocations, paths for debian build system, and avoid recompiling prometheus. Martina Ferrari <tina@debian.org> not-needed 2020-06-05
0009-Fix-hanging-test.patch Fix test failing due to gRPC server not finishing promptly: it times out at 20s, so let's wait 21. Martina Ferrari <tina@debian.org> yes 2020-06-20
0010-Fix-slow-tests.patch Skip slow / CPU-intensive tests on 32-bit arch / riscv64

This patch does not imply that the tests need to be made more tolerant
upstream. It merely avoids bogus build failures on overloaded Debian buildd
hosts, where functions may take longer than upstream developers expect, i.e.,
combat the "works on my machine" scenario.
Daniel Swarbrick <dswarbrick@debian.org> not-needed 2023-02-05
0011-Disable-memory-intensive-tests.patch Disable memory-intensive tests which are known to fail on 32-bit Daniel Swarbrick <dswarbrick@debian.org> not-needed upstream 2023-02-05
0013-Revert-OpenStack-Gophercloud-API-change.patch Revert Gophercloud API update

The needed modules is not at the required version. Can be dropped once
it gets updated.
Guillem Jover <gjover@sipwise.com> not-needed 2023-07-14
0014-Disable-OpenTelemetry.patch Disable OpenTelemetry tracing

Multiple OpenTelemetry dependencies are not available in Debian.
Daniel Swarbrick <dswarbrick@debian.org> not-needed 2022-10-20
0015-Disable-React-UI.patch Disable the React UI Martina Ferrari <tina@debian.org> not-needed 2022-03-14
0016-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 2020-06-20
0017-Reinstate-classic-web-UI.patch Splice the classic web UI into source

This patch reinstates the template rendering handlers which are required
by the classic web UI (split off into the prometheus-ui-classic) package.
Daniel Swarbrick <dswarbrick@debian.org> not-needed 2022-10-20
0018-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
0019-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 2023-07-12
0020-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
0021-Partially-backport-PR-12650.patch Partially backport PR 12650

Partially backport upstream commit 86729d4 to fix FTBFS with recent
versions of golang.org/x/exp.
Daniel Swarbrick <dswarbrick@debian.org> not-needed 2023-11-22
0022-Support-prometheus-common-v0.47.0.patch Support prometheus/common 0.47.0

This cherry-picks part of a commit relating to negotiation of the
"Accept" header, which became more complex with prometheus/common
0.47.0. See upstream commit a28d786.
Daniel Swarbrick <dswarbrick@debian.org> not-needed 2024-02-27
0023-Support-prometheus-common-v0.50.0.patch Support prometheus/common v0.50.0
prometheus/common dropped the version.NewCollector() function, which is
now provided by prometheus/client_golang v1.19.0+.
Daniel Swarbrick <dswarbrick@debian.org> no 2024-03-18
0024-Fix-deadlock-in-TestQuerierIndexQueriesRace.patch Fix deadlock in TestQuerierIndexQueriesRace

This fixes an apparent deadlock which can occur in this test on
single-core hosts.
Daniel Swarbrick <dswarbrick@debian.org> no https://github.com/prometheus/prometheus/pull/12881 2024-03-31

All known versions for source package 'prometheus'

Links