Change-Id: Ia07830ad9d1be4c684031866d38a589b28a6e580 Signed-off-by: Jaromir Wysoglad <jwysogla@redhat.com>
1.1 KiB
1.1 KiB
The observabilityclient
openstack client extension
observabilityclient
The observabilityclient openstack client extension
interacts with Prometheus API from the command line. It supports the
same subset of Prometheus API as the observabilityclient python API.
Warning
This client commands conflict with the gnocchiclient commands. Make sure to have only one of these clients installed at a time
All shell commands take the form:
openstack metric <command> [arguments...]Run openstack metric --help to get a full list of all
possible commands, and run openstack metric <command> --help to get
detailed help for that command.
Examples
List all accessible metrics:
openstack metric listShow details of the ceilometer_cpu metric:
openstack metric show ceilometer_cpuSend any PromQL query:
openstack metric query 'ceilometer_cpu{counter="cpu",job="ceilometer"} + on (counter, job) sum by (counter) (ceilometer_memory{label="baz",counter="NS",pod="POD"})'