From 3cbf4b507167958423710e9db4d7ffb854d92212 Mon Sep 17 00:00:00 2001 From: Piotr Parczewski Date: Mon, 18 Jan 2021 16:25:37 +0100 Subject: [PATCH] [docs] Prometheus 2.x follow-up change Update for the example command line options. Change-Id: Ida6e882d1014cdc5e55383a5d5ba8fa0e824a693 --- .../reference/logging-and-monitoring/prometheus-guide.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/reference/logging-and-monitoring/prometheus-guide.rst b/doc/source/reference/logging-and-monitoring/prometheus-guide.rst index ca5406fd14..69b0ed4b6b 100644 --- a/doc/source/reference/logging-and-monitoring/prometheus-guide.rst +++ b/doc/source/reference/logging-and-monitoring/prometheus-guide.rst @@ -48,12 +48,12 @@ Extending the default command line options ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ It is possible to extend the default command line options for Prometheus by -using a custom variable. As an example, to set remote timeouts to 30 seconds -and data retention period to 2 days: +using a custom variable. As an example, to set query timeout to 1 minute +and data retention size to 30 gigabytes: .. code-block:: yaml - prometheus_cmdline_extras: "-storage.remote.timeout 30s -storage.local.retention 48h" + prometheus_cmdline_extras: "--query.timeout=1m --storage.tsdb.retention.size=30GB" Extending prometheus.cfg ~~~~~~~~~~~~~~~~~~~~~~~~