Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenStack
oslo
python-oslo.metrics
Commits
c1f8ff91
Commit
c1f8ff91
authored
Jul 05, 2021
by
Zuul
Committed by
Gerrit Code Review
Jul 05, 2021
Browse files
Merge "Fix Heading Characters"
parents
eb13eb9c
0a5cb7ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/source/user/usage.rst
View file @
c1f8ff91
...
...
@@ -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
Testing with DevStack
#####################
---------------------
This section describes how to test out oslo.metrics and collect oslo.messaging metric data using Devstack.
Download DevStack
-----------------
~~~~~~~~~~~~~~~~~
.. code-block:: console
...
...
@@ -24,7 +24,7 @@ The ``devstack`` repo contains a script that installs OpenStack and
templates for configuration files.
Create a local.conf
-------------------
~~~~~~~~~~~~~~~~~~~
Create a ``local.conf`` file with four passwords preset at the root of the
devstack git repo.
...
...
@@ -46,7 +46,7 @@ This is the minimum required config to get started with Devstack including
oslo.metrics.
Start the install
-----------------
~~~~~~~~~~~~~~~~~
.. code-block:: console
...
...
@@ -57,7 +57,7 @@ your internet connection. Many git trees and packages will be
installed during this process.
Start the Metrics Server
------------------------
~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: console
...
...
@@ -69,7 +69,7 @@ oslo.messaging metrics sending from OpenStack services.
oslo.metrics exporter will serve on port 3000 by default.
Example Output
--------------
~~~~~~~~~~~~~~
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`
Gathering Metrics
-----------------
~~~~~~~~~~~~~~~~~
To gather metrics from oslo.metrics, configure Prometheus to scrape from port
3000 where oslo.metrics is running.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment