Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

GH-74 Correct Cloudwatch check-command query_one example #116

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/user/check-ref/cloudwatch_wrapper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,12 @@ Methods of Cloudwatch

.. code-block:: python

cloudwatch().query_one({'LoadBalancer': 'app/my-alb/1234'}, 'TargetResponseTime', 'Average', 'AWS/ApplicationELB', extended_statistics=['p95', 'p99'])
cloudwatch().query_one({'LoadBalancer': 'app/my-alb/1234'}, 'TargetResponseTime', 'Average', 'AWS/ApplicationELB', extended_statistics=['p95', 'p99', 'p99.45'])
{
'TargetResponseTime': 0.224,
'Average': 0.224,
'p95': 0.245,
'p99': 0.300
'p99': 0.300,
'p99.45': 0.500
}

.. note::
Expand Down