Fix Heading Characters

Change-Id: I270734c7cbd017e5476fbc4eb94f1b81708ae200
This commit is contained in:
Ching Kuo 2021-07-01 23:11:24 +08:00
parent d33cf5839f
commit 0a5cb7ad28
1 changed files with 7 additions and 7 deletions

View File

@ -8,12 +8,12 @@ A simple example of oslo.metrics in use::
2020-06-11 15:59:53.459 5435 INFO oslo.metrics.__main__ [-] Start oslo.metrics 2020-06-11 15:59:53.459 5435 INFO oslo.metrics.__main__ [-] Start oslo.metrics
Testing with DevStack Testing with DevStack
##################### ---------------------
This section describes how to test out oslo.metrics and collect oslo.messaging metric data using Devstack. This section describes how to test out oslo.metrics and collect oslo.messaging metric data using Devstack.
Download DevStack Download DevStack
----------------- ~~~~~~~~~~~~~~~~~
.. code-block:: console .. code-block:: console
@ -24,7 +24,7 @@ The ``devstack`` repo contains a script that installs OpenStack and
templates for configuration files. templates for configuration files.
Create a local.conf Create a local.conf
------------------- ~~~~~~~~~~~~~~~~~~~
Create a ``local.conf`` file with four passwords preset at the root of the Create a ``local.conf`` file with four passwords preset at the root of the
devstack git repo. devstack git repo.
@ -46,7 +46,7 @@ This is the minimum required config to get started with Devstack including
oslo.metrics. oslo.metrics.
Start the install Start the install
----------------- ~~~~~~~~~~~~~~~~~
.. code-block:: console .. code-block:: console
@ -57,7 +57,7 @@ your internet connection. Many git trees and packages will be
installed during this process. installed during this process.
Start the Metrics Server Start the Metrics Server
------------------------ ~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: console .. code-block:: console
@ -69,7 +69,7 @@ oslo.messaging metrics sending from OpenStack services.
oslo.metrics exporter will serve on port 3000 by default. oslo.metrics exporter will serve on port 3000 by default.
Example Output Example Output
-------------- ~~~~~~~~~~~~~~
An example of oslo.metrics collecting metrics from Nova: An example of oslo.metrics collecting metrics from Nova:
@ -87,7 +87,7 @@ An example of oslo.metrics collecting metrics from Nova:
2021-06-12 14:57:50.633 466289 INFO oslo.metrics.message_router [-] Perform action inc for rpc_client_invocation_end_total metrics` 2021-06-12 14:57:50.633 466289 INFO oslo.metrics.message_router [-] Perform action inc for rpc_client_invocation_end_total metrics`
Gathering Metrics Gathering Metrics
----------------- ~~~~~~~~~~~~~~~~~
To gather metrics from oslo.metrics, configure Prometheus to scrape from port To gather metrics from oslo.metrics, configure Prometheus to scrape from port
3000 where oslo.metrics is running. 3000 where oslo.metrics is running.