diff -Nru prometheus-bind-exporter-0.7.0/debian/changelog prometheus-bind-exporter-0.7.0/debian/changelog --- prometheus-bind-exporter-0.7.0/debian/changelog 2023-08-24 05:17:29.000000000 +0000 +++ prometheus-bind-exporter-0.7.0/debian/changelog 2024-02-15 14:19:40.000000000 +0000 @@ -1,8 +1,8 @@ -prometheus-bind-exporter (0.7.0-1build1) mantic; urgency=medium +prometheus-bind-exporter (0.7.0-2) unstable; urgency=medium - * No-change rebuild with Go 1.21. + * Add new 0002-Deprecate-collection-of-task-stats-by-default.patch - -- Michael Hudson-Doyle Thu, 24 Aug 2023 17:17:29 +1200 + -- Daniel Swarbrick Thu, 15 Feb 2024 14:19:40 +0000 prometheus-bind-exporter (0.7.0-1) unstable; urgency=medium diff -Nru prometheus-bind-exporter-0.7.0/debian/patches/0001-Revert-kingpin.v2-import-path.patch prometheus-bind-exporter-0.7.0/debian/patches/0001-Revert-kingpin.v2-import-path.patch --- prometheus-bind-exporter-0.7.0/debian/patches/0001-Revert-kingpin.v2-import-path.patch 2023-08-12 13:38:03.000000000 +0000 +++ prometheus-bind-exporter-0.7.0/debian/patches/0001-Revert-kingpin.v2-import-path.patch 2024-02-15 14:19:24.000000000 +0000 @@ -11,10 +11,10 @@ 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind_exporter.go b/bind_exporter.go -index 18d427b..bbdc89c 100644 +index 0756c0f..ff2c252 100644 --- a/bind_exporter.go +++ b/bind_exporter.go -@@ -23,7 +23,6 @@ import ( +@@ -24,7 +24,6 @@ import ( "strings" "time" @@ -22,7 +22,7 @@ "github.com/go-kit/log/level" "github.com/prometheus-community/bind_exporter/bind" "github.com/prometheus-community/bind_exporter/bind/auto" -@@ -36,6 +35,7 @@ import ( +@@ -38,6 +37,7 @@ import ( "github.com/prometheus/common/version" "github.com/prometheus/exporter-toolkit/web" webflag "github.com/prometheus/exporter-toolkit/web/kingpinflag" diff -Nru prometheus-bind-exporter-0.7.0/debian/patches/0002-Deprecate-collection-of-task-stats-by-default.patch prometheus-bind-exporter-0.7.0/debian/patches/0002-Deprecate-collection-of-task-stats-by-default.patch --- prometheus-bind-exporter-0.7.0/debian/patches/0002-Deprecate-collection-of-task-stats-by-default.patch 1970-01-01 00:00:00.000000000 +0000 +++ prometheus-bind-exporter-0.7.0/debian/patches/0002-Deprecate-collection-of-task-stats-by-default.patch 2024-02-15 14:19:24.000000000 +0000 @@ -0,0 +1,25 @@ +From: Daniel Swarbrick +Date: Thu, 15 Feb 2024 15:17:45 +0100 +Subject: Deprecate collection of task stats by default + +Forwarded: https://github.com/prometheus-community/bind_exporter/pull/200 + +Task stats were removed from BIND 9.19 onwards. See upstream merge request +https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/7537 +--- + bind_exporter.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bind_exporter.go b/bind_exporter.go +index ff2c252..4d519b3 100644 +--- a/bind_exporter.go ++++ b/bind_exporter.go +@@ -548,7 +548,7 @@ func main() { + kingpin.Flag("bind.stats-groups", + "Comma-separated list of statistics to collect", + ).Default((&statisticGroups{ +- bind.ServerStats, bind.ViewStats, bind.TaskStats, ++ bind.ServerStats, bind.ViewStats, + }).String()).SetValue(&groups) + + kingpin.Version(version.Print(exporter)) diff -Nru prometheus-bind-exporter-0.7.0/debian/patches/series prometheus-bind-exporter-0.7.0/debian/patches/series --- prometheus-bind-exporter-0.7.0/debian/patches/series 2023-08-12 14:30:08.000000000 +0000 +++ prometheus-bind-exporter-0.7.0/debian/patches/series 2024-02-15 14:19:24.000000000 +0000 @@ -1 +1,2 @@ 0001-Revert-kingpin.v2-import-path.patch +0002-Deprecate-collection-of-task-stats-by-default.patch