From 1da172872792d797875ee99e97842414d9c2bb5e Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Mon, 26 May 2025 14:42:59 +1000 Subject: [PATCH] doc/mgr: edit telegraf.rst Edit doc/mgr/telegraf.rst. This is part of a project to separate out the twenty-five files that were committed to https://github.com/ceph/ceph/pull/62782. Signed-off-by: Zac Dover --- doc/mgr/telegraf.rst | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/mgr/telegraf.rst b/doc/mgr/telegraf.rst index 781ff5592fb05..a74bc01aafa3b 100644 --- a/doc/mgr/telegraf.rst +++ b/doc/mgr/telegraf.rst @@ -18,16 +18,16 @@ Enabling To enable the module, use the following command: -:: +.. prompt:: bash # - ceph mgr module enable telegraf + ceph mgr module enable telegraf If you wish to subsequently disable the module, you can use the corresponding -*disable* command: +``disable`` command: -:: +.. prompt:: bash # - ceph mgr module disable telegraf + ceph mgr module disable telegraf ------------- Configuration @@ -38,24 +38,24 @@ required to configure the address to send the statistics to. Set configuration values using the following command: -:: +.. prompt:: bash # - ceph telegraf config-set + ceph telegraf config-set The most important settings are ``address`` and ``interval``. For example, a typical configuration might look like this: -:: +.. prompt:: bash # - ceph telegraf config-set address udp://:8094 - ceph telegraf config-set interval 10 + ceph telegraf config-set address udp://:8094 + ceph telegraf config-set interval 10 The default values for these configuration keys are: -- address: unixgram:///tmp/telegraf.sock -- interval: 15 +- ``address``: ``unixgram:///tmp/telegraf.sock`` +- ``interval``: ``15`` ---------------- Socket Listener -- 2.39.5