[docs] Prometheus 2.x follow-up change

Update for the example command line options.

Change-Id: Ida6e882d1014cdc5e55383a5d5ba8fa0e824a693
This commit is contained in:
Piotr Parczewski 2021-01-18 16:25:37 +01:00
parent 031e337898
commit 3cbf4b5071

View File

@ -48,12 +48,12 @@ Extending the default command line options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It is possible to extend the default command line options for Prometheus by 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 using a custom variable. As an example, to set query timeout to 1 minute
and data retention period to 2 days: and data retention size to 30 gigabytes:
.. code-block:: yaml .. 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 Extending prometheus.cfg
~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~