[pbs-devel] [PATCH proxmox-backup 2/2] docs: fix code blocks for metrics configuration
Gabriel Goller
g.goller at proxmox.com
Thu Aug 8 13:39:20 CEST 2024
Create code-block for InfluxDB configuration.
Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
---
docs/external_metric_server.rst | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/docs/external_metric_server.rst b/docs/external_metric_server.rst
index f5d021515b49..23b5a4c62114 100644
--- a/docs/external_metric_server.rst
+++ b/docs/external_metric_server.rst
@@ -59,14 +59,14 @@ necessary.
Here is an example configuration for InfluxDB (on your InfluxDB server):
-----
-[[udp]]
- enabled = true
- bind-address = "0.0.0.0:8089"
- database = "proxmox"
- batch-size = 1000
- batch-timeout = "1s"
-----
+.. code-block:: console
+
+ [[udp]]
+ enabled = true
+ bind-address = "0.0.0.0:8089"
+ database = "proxmox"
+ batch-size = 1000
+ batch-timeout = "1s"
With this configuration, the InfluxDB server listens on all IP addresses on
port 8089, and writes the data in the *proxmox* database.
--
2.39.2
More information about the pbs-devel
mailing list