From cdbc1a9f22adc9495c53858ac79c2a3073752d04 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 12 Mar 2021 00:27:58 +0800 Subject: [PATCH] doc/mgr: fix formatting a code block should start with "::". Signed-off-by: Kefu Chai --- doc/mgr/telegraf.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/mgr/telegraf.rst b/doc/mgr/telegraf.rst index 5944f7255cd63..781ff5592fb05 100644 --- a/doc/mgr/telegraf.rst +++ b/doc/mgr/telegraf.rst @@ -63,8 +63,9 @@ Socket Listener The module only supports sending data to Telegraf through the socket listener of the Telegraf module using the Influx data format. -A typical Telegraf configuration might be: +A typical Telegraf configuration might be +:: [[inputs.socket_listener]] # service_address = "tcp://:8094" @@ -82,6 +83,8 @@ A typical Telegraf configuration might be: In this case the `address` configuration option for the module would need to be set to: +:: + udp://:8094 -- 2.39.5