The enabling by --web.enable-admin-api cannot be overwritten by a conf parameter. I propose to remove that from the init.d file.
and this sentence in the conf.d file does not work related to a web api deactivation: # The new behavior is that prometheus_args will be appended to these # defaults allowing anything you add to override them.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f35eca9501909c87ca6591f35e6c5fb617e5ba6 commit 4f35eca9501909c87ca6591f35e6c5fb617e5ba6 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2025-01-31 02:46:45 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2025-01-31 02:46:45 +0000 app-metrics/prometheus: add 3.1.0 Closes: https://bugs.gentoo.org/905861 Closes: https://bugs.gentoo.org/947414 Signed-off-by: William Hubbs <williamh@gentoo.org> app-metrics/prometheus/Manifest | 3 ++ app-metrics/prometheus/files/prometheus-3.confd | 25 +++++++++ app-metrics/prometheus/files/prometheus-3.initd | 40 ++++++++++++++ app-metrics/prometheus/files/prometheus-3.service | 20 +++++++ app-metrics/prometheus/prometheus-3.1.0.ebuild | 63 +++++++++++++++++++++++ 5 files changed, 151 insertions(+)