diff options
author | Emma Foley <emma.l.foley@intel.com> | 2018-03-16 11:20:36 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-03-16 11:25:23 +0000 |
commit | 2627622fd3a148d644735b8996bf8023e0c3460d (patch) | |
tree | 174f9623a0d312e38ed6cdf882ad6fe7e1057a30 /docs/release | |
parent | 6f1d06bd5bce5803611483a69c88c822b391375d (diff) |
[userguide] Update post install verification for Apex
Since the addition of DEFAULT_ARCHIVE_POLICY to
collectd-openstack, and support in Apex, the archive
policy used by Gnocchi for Barometer metrics is set
to "high" by default. This removes the need to update
the archive policy by hand for verification.
Change-Id: I074b4cad4926bd0e59ca04f915865ed52d0b6979
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'docs/release')
-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. |