From 3f94c66ee121a2fdb136741c3685195c6d1db643 Mon Sep 17 00:00:00 2001 From: WilliButz Date: Fri, 1 Jan 2021 23:59:06 +0100 Subject: nixos/prometheus-json-exporter: update modules & tests, add release notes --- nixos/doc/manual/release-notes/rl-2103.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'nixos/doc') diff --git a/nixos/doc/manual/release-notes/rl-2103.xml b/nixos/doc/manual/release-notes/rl-2103.xml index 38262b508994..0475c365504e 100644 --- a/nixos/doc/manual/release-notes/rl-2103.xml +++ b/nixos/doc/manual/release-notes/rl-2103.xml @@ -295,6 +295,32 @@ Based on , existing installations will continue to work. + + + The prometheus json exporter is now managed by the prometheus community. Together with additional features + some backwards incompatibilities were introduced. + Most importantly the exporter no longer accepts a fixed command-line parameter to specify the URL of the + endpoint serving JSON. It now expects this URL to be passed as an URL parameter, when scraping the exporter's + /probe endpoint. + In the prometheus scrape configuration the scrape target might look like this: + + http://some.json-exporter.host:7979/probe?target=https://example.com/some/json/endpoint + + + + Existing configuration for the exporter needs to be updated, but can partially be re-used. + Documentation is available in the upstream repository and a small example for NixOS is available + in the corresponding NixOS test. + + + These changes also affect services.prometheus.exporters.rspamd, which is + just a preconfigured instance of the json exporter. + + + For more information, take a look at the + official documentation of the json_exporter. + + -- cgit v1.2.3