@@ -4,7 +4,6 @@ with lib;
44
55let
66 cfg = config.services.prometheus.exporters.json;
7−
87in
98{
109 port = 7979;
@@ -30,15 +29,14 @@ in
3029 (mkRemovedOptionModule [ "url" ] ''
3130 This option was removed. The URL of the endpoint serving JSON
3231 must now be provided to the exporter by prometheus via the url
33− parameter <literal>target</literal>.
32+ parameter `target'.
3433
3534 In prometheus a scrape URL would look like this:
36− <programlisting>
37− http://some.json-exporter.host:7979/probe?target=https://example.com/some/json/endpoint
38− </programlisting>
3935
40− For more information, take a look at the <link xlink:href="https://github.com/prometheus-community/json_exporter">
41− official documentation</link> of the json_exporter.
36+ http://some.json-exporter.host:7979/probe?target=https://example.com/some/json/endpoint
37+
38+ For more information, take a look at the official documentation
39+ (https://github.com/prometheus-community/json_exporter) of the json_exporter.
4240 '')
4341 ({ options.warnings = options.warnings; options.assertions = options.assertions; })
4442 ];