Ask Your Question
0

gnocchi - basic workflow mistakes

asked 2016-07-20 17:44:36 -0500

Vladoho gravatar image

Hello all

I'm trying to figure out the gnocchi workflow to get metric ready and configured properly, so I installed Devstack with gnocchi set.

My backend configuration is working by default and I did the following using gnocchiclient:

(Pre-requirement) Create and instance and get its Id and also get the project_id where instance runs --- run gnocchi-upgrade just after DevStack is ready

  1. Created a resouce-type "instance"
  2. Created a resource with its needed associations: "metric (new one named uptime), archive-policy (the default low), attributes - resourceId (instanceId) and project (projectId) and the type (the new instance)"
  3. Reviewed the index DB and all apparently is fine.
  4. Start the workers (gnocchi-api and gnocchi-metricd)
  5. Reviewed logs (no errors inside)
  6. Bad news I don't have timeseries for my metric

QUESTIONS

A. How does gnocchi to match the UPTIME from my instance? (this is my first missing thing - I do not how to set that)

B. How to configure the UNITS example "sec." for my metric? (from gnocchi client there is not an option or argument)

C. For other cases of use "Instance's CPU temperature, Network BW usage, Storage I/O, etc" how is it supposed to approach that configuration from the metric point of view and OpenStack IaaS?

Please help me to understand these empties of knowledge to run in my path.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-07-25 01:03:48 -0500

yprokule gravatar image

@Vladoho : A. Gnocchi doesn't match 'uptime' - it's just a backend storage. The usual flow is to use Gnocchi in conjuction with Ceilometer. Ceilometer collects meters and send those sample via gnocchiclient to gnocchi. Samples have a resource_id - in your case Instance_Id and the meter_name (Uptime)

B. Units. There is no ability to configure this.

C. You have to configure Ceilometer to use gnocchi dispatcher.

edit flag offensive delete link more

Comments

Thank you @yprokule I will go over that path to get my POC ---Vladoho

Vladoho gravatar imageVladoho ( 2016-07-25 11:26:36 -0500 )edit

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-07-20 17:44:36 -0500

Seen: 397 times

Last updated: Jul 25 '16