diff options
author | Aaron Smith <aasmith@redhat.com> | 2018-03-16 18:09:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-16 18:09:38 +0000 |
commit | f958216cc4b8a9a53a7e842935bc679f4ad4e3b0 (patch) | |
tree | 0b943a71b05f81cf845eec32dc0c63fa4f1fb4ef /docs/release/configguide/postinstall.rst | |
parent | 7afbeff00c3c2e257dff7bc8a8f487bbf929b22c (diff) | |
parent | 2627622fd3a148d644735b8996bf8023e0c3460d (diff) |
Merge "[userguide] Update post install verification for Apex"
Diffstat (limited to 'docs/release/configguide/postinstall.rst')
-rw-r--r-- | docs/release/configguide/postinstall.rst | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/docs/release/configguide/postinstall.rst b/docs/release/configguide/postinstall.rst index 602a8d5c..d03f99a2 100644 --- a/docs/release/configguide/postinstall.rst +++ b/docs/release/configguide/postinstall.rst @@ -27,24 +27,23 @@ The following steps describe how to perform a simple "manual" testing of the Bar On the controller: -You will need update the archive policy rule for gnocchi via the command line. -The default is low, which means that you only get a metric every -5 minutes. To do this: +1. Get a list of the available metrics: -.. code:: bash + .. code:: - $ openstack metric archive-policy rule delete default - $ openstack metric archive-policy-rule create -a bool -m '*' default + $ openstack metric list -Using the ``bool`` archive policy reduces the number of aggregation methods run -to one (last), and it keeps all metrics at a 1 second interval. -In order to query this you need to explicitly choose an aggregation method to -display (by default, ``measures show`` uses mean). You may have to update the -command for checking the metrics, this is the CLI command: +2. Take note of the ID of the metric of interest, and show the measures of this metric: -.. code:: bash + .. code:: - $ watch –n2 –d openstack metric measures show --aggregation last <metric_id> + $ openstack metric measures show <metric_id> + +3. Watch the measure list for updates to verify that metrics are being added: + + .. code:: bash + + $ watch –n2 –d openstack metric measures show <metric_id> More on testing and displaying metrics is shown below. |