Ask Your Question
0

gnocchi some metrics with no measures

asked 2016-11-26 20:51:27 -0500

masber gravatar image

updated 2016-11-26 21:12:02 -0500

Hi,

there are some metrics with no measures like cpu_util, however I do can see measures of other metrics like vcpus

I am using token from gnocchi user and services project.

example of a query I am using:

curl -i -H "X-Auth-Token:####" -H "X-Project-Id: ####" -H "Content-Type:application/json" http://129.94.72.54:8041/v1/metric/####/measures
HTTP/1.1 200 OK
Date: Sun, 27 Nov 2016 02:48:59 GMT
Server: Apache/2.4.6 (CentOS)
Content-Length: 2
Connection: close
Content-Type: application/json; charset=UTF-8

[]

any idea why?

thank you

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-11-28 01:21:34 -0500

yprokule gravatar image

What backend does gnocchi use - swift, ceph, file ? Is this HA setup ?

Measures for metric vcpus are derived from notifications emitted by nova. And the cpu_util is calculated on the controller nodes based on data received from compute nodes.

So, check :

  1. ceilometer-compute-agent is running on computes
  2. Check pipeline.yaml on controllers
  3. Check ceilometer/collector.log
  4. Check gnocchi/metricd.log
  5. Check gnocchi status
edit flag offensive delete link more
0

answered 2018-08-22 04:31:08 -0500

prerna.dembla gravatar image

ceph is used with high availability environment. openstack pike is used In polling and pipeline metrics are defined

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-11-26 20:51:27 -0500

Seen: 269 times

Last updated: Nov 28 '16