*** piotrowskim has joined #openstack-monasca | 07:36 | |
*** witek has joined #openstack-monasca | 08:07 | |
*** chaconpiza has joined #openstack-monasca | 08:25 | |
*** dougsz has joined #openstack-monasca | 09:20 | |
*** arseni-lipinski has joined #openstack-monasca | 09:40 | |
*** arseni-lipinski has left #openstack-monasca | 09:40 | |
*** arseni-lipinski has joined #openstack-monasca | 09:40 | |
*** ivve has joined #openstack-monasca | 10:15 | |
openstackgerrit | Merged openstack/monasca-api master: Upgrade Elkstack in new API https://review.opendev.org/697123 | 10:51 |
---|---|---|
dougsz | ^ good to see that merged :) | 11:01 |
* witek celebrates | 11:03 | |
arseni-lipinski | as soon as i rewrite routing module in the plugin and remove irrelevant code, it should be done | 11:27 |
*** Chiara1234 has joined #openstack-monasca | 11:42 | |
Chiara1234 | Hi! Is there someone that could help me getting started with monasca metrics? | 11:43 |
witek | how do you deploy Monasca? | 11:50 |
Chiara1234 | I deployed Monasca using the all-in-one config and the devstack Monasca-Api plugin. What I'm interested in is the sintax to define metrics, or if there are libraries where they are already defined | 11:53 |
witek | you can send an arbitrary metric to the API by using CLI: | 11:57 |
witek | `monasca metric-create --dimensions label1=my_label test 1.5` | 11:57 |
witek | monasca metric-create --help | 11:58 |
Chiara1234 | --dimensions to what refers to? For example, if I wanted to create a metric to monitor the cpu? and how can I specify the instance I want to monitor? | 11:59 |
witek | have a look at monasca-agent configuration | 12:00 |
witek | https://opendev.org/openstack/monasca-agent | 12:01 |
witek | it runs checks at regular intervals and sends measurements to the API | 12:01 |
witek | in DevStack you can find current configuration in /etc/monasca/agent/agent.yaml and /etc/monasca/agent/conf.d/ | 12:02 |
witek | if you're interested in Nova instances, have a look at LibVirt plugin | 12:04 |
witek | https://github.com/openstack/monasca-agent/blob/master/docs/Libvirt.md | 12:05 |
witek | it's should be set up in DevStack already | 12:05 |
Chiara1234 | Thank you! I'll check it our right now, I also found the file for the agent, thank you very much | 12:06 |
witek | pleasure, we're happy to help | 12:07 |
Chiara1234 | I finally found the metrics! Thank you, really! But how can I actually use them? I mean, for example, If I want to use the cpu.time_ns metric? | 12:18 |
witek | monasca measurement-list cpu.time_ns -2 | 12:23 |
witek | will print collected measurement from the last 2 minutes | 12:23 |
witek | you can visualize these in Grafana | 12:24 |
witek | or define alarms based on it | 12:24 |
witek | have a look at this workshop material: | 12:25 |
witek | https://github.com/martinchacon/monasca-bootcamp/blob/master/MonascaBootcamp.ipynb | 12:25 |
witek | cpu.time_ns and other tenant metrics are only available for a given project | 12:26 |
witek | admin will see vm.cpu.time_ns | 12:27 |
Chiara1234 | Awesome! it finally works! I'm not sure what was wrong, but the first time I installed monasca I was unable to see the metrics available, that was why I couldn't understand how to work things out. Really thank you so much, you made my day! | 12:35 |
witek | and they say it's Blue Monday today ;) | 12:41 |
*** dougsz has quit IRC | 13:08 | |
*** dougsz has joined #openstack-monasca | 13:28 | |
*** dougsz has quit IRC | 13:32 | |
*** dougsz has joined #openstack-monasca | 13:40 | |
*** Chiara1234 has quit IRC | 13:45 | |
*** johanssone has quit IRC | 15:03 | |
*** johanssone has joined #openstack-monasca | 15:09 | |
*** openstackgerrit has quit IRC | 16:13 | |
*** piotrowskim has quit IRC | 16:22 | |
*** openstackgerrit has joined #openstack-monasca | 16:24 | |
openstackgerrit | Arseni Lipinski proposed openstack/monasca-kibana-plugin master: [WIP] Upgrade monasca-kibana-plugin for Elkstack update https://review.opendev.org/680075 | 16:24 |
*** dougsz has quit IRC | 17:57 | |
*** witek has quit IRC | 19:58 | |
*** witek has joined #openstack-monasca | 20:16 | |
*** witek has quit IRC | 21:58 | |
*** ivve has quit IRC | 23:47 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!