Monday, 2020-01-20

*** piotrowskim has joined #openstack-monasca07:36
*** witek has joined #openstack-monasca08:07
*** chaconpiza has joined #openstack-monasca08:25
*** dougsz has joined #openstack-monasca09:20
*** arseni-lipinski has joined #openstack-monasca09:40
*** arseni-lipinski has left #openstack-monasca09:40
*** arseni-lipinski has joined #openstack-monasca09:40
*** ivve has joined #openstack-monasca10:15
openstackgerritMerged openstack/monasca-api master: Upgrade Elkstack in new API  https://review.opendev.org/69712310:51
dougsz^ good to see that merged :)11:01
* witek celebrates11:03
arseni-lipinskias soon as i rewrite routing module in the plugin and remove irrelevant code, it should be done11:27
*** Chiara1234 has joined #openstack-monasca11:42
Chiara1234Hi! Is there someone that could help me getting started with monasca metrics?11:43
witekhow do you deploy Monasca?11:50
Chiara1234I 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 defined11:53
witekyou 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
witekmonasca metric-create --help11: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
witekhave a look at monasca-agent configuration12:00
witekhttps://opendev.org/openstack/monasca-agent12:01
witekit runs checks at regular intervals and sends measurements to the API12:01
witekin DevStack you can find current configuration in /etc/monasca/agent/agent.yaml and /etc/monasca/agent/conf.d/12:02
witekif you're interested in Nova instances, have a look at LibVirt plugin12:04
witekhttps://github.com/openstack/monasca-agent/blob/master/docs/Libvirt.md12:05
witekit's should be set up in DevStack already12:05
Chiara1234Thank you! I'll check it our right now, I also found the file for the agent, thank you very much12:06
witekpleasure, we're happy to help12:07
Chiara1234I 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
witekmonasca measurement-list cpu.time_ns -212:23
witekwill print collected measurement from the last 2 minutes12:23
witekyou can visualize these in Grafana12:24
witekor define alarms based on it12:24
witekhave a look at this workshop material:12:25
witekhttps://github.com/martinchacon/monasca-bootcamp/blob/master/MonascaBootcamp.ipynb12:25
witekcpu.time_ns and other tenant metrics are only available for a given project12:26
witekadmin will see vm.cpu.time_ns12:27
Chiara1234Awesome! 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
witekand they say it's Blue Monday today ;)12:41
*** dougsz has quit IRC13:08
*** dougsz has joined #openstack-monasca13:28
*** dougsz has quit IRC13:32
*** dougsz has joined #openstack-monasca13:40
*** Chiara1234 has quit IRC13:45
*** johanssone has quit IRC15:03
*** johanssone has joined #openstack-monasca15:09
*** openstackgerrit has quit IRC16:13
*** piotrowskim has quit IRC16:22
*** openstackgerrit has joined #openstack-monasca16:24
openstackgerritArseni Lipinski proposed openstack/monasca-kibana-plugin master: [WIP] Upgrade monasca-kibana-plugin for Elkstack update  https://review.opendev.org/68007516:24
*** dougsz has quit IRC17:57
*** witek has quit IRC19:58
*** witek has joined #openstack-monasca20:16
*** witek has quit IRC21:58
*** ivve has quit IRC23:47

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!