Wednesday, 2019-01-09

openstackgerritinspurericzhang proposed openstack/monasca-tempest-plugin master: Update hacking version to latest  https://review.openstack.org/62935302:15
*** bobh has joined #openstack-monasca02:41
*** bobh has quit IRC02:47
*** spsurya has joined #openstack-monasca03:46
*** jamesgu__ has joined #openstack-monasca04:52
*** jamesgu has quit IRC05:02
*** chaconpiza has quit IRC05:02
*** pandy has joined #openstack-monasca05:21
pandyHi All, I would like to monitor health status of monasca components like monasca-api, kafka, zookeeper,mysql,influxdb,notification.. Currently I have installed monasca-agent on host machine, where my monasca components are running in docker container on same host. May i know how to monitor from host monasca-agent ?05:24
*** pcaruana has joined #openstack-monasca07:06
*** bobh has joined #openstack-monasca07:39
*** bobh has quit IRC07:43
*** chaconpiza has joined #openstack-monasca08:04
*** witek has joined #openstack-monasca08:24
dirkwitek: ^^08:38
openstackgerritAdrian Czarnecki proposed openstack/monasca-api master: Use PYTHON2.7 for npm  https://review.openstack.org/62819408:52
openstackgerritAdrian Czarnecki proposed openstack/monasca-api master: Use PYTHON2.7 for npm  https://review.openstack.org/62819409:04
*** dougsz has joined #openstack-monasca09:13
*** bobh has joined #openstack-monasca09:25
pandywitek, I would like to know to conver tenant_id to tenant name in monasca agent toread user friendly for end user to understand. Currently can do group by "tenant_id" may i know the file changes need to do for collecting with "tenant" name09:44
pandyhttps://storyboard.openstack.org/#!/story/200473909:59
*** bobh has quit IRC10:19
dougszpandy: Have you seen the Monasca Agent optional dimensions? https://github.com/openstack/monasca-agent/blob/master/docs/Plugins.md#dimensions10:20
dougszCould you add a tenant name as an optional dimension? The tenant name would then be added to all metrics harvested by that instance of the Monasca Agent.10:21
dougszMaybe that would work for your use case?10:21
toabctldougsz, question about monasca-setup - the use-case for monasca-setup is, to setup the different monasca-agent plugins and write the configurations into /etc/monasca/agent/conf.d . Is that correct?10:29
toabctlI'm asking because I try to monasca-setup with the process detection. but monasca-setup needs the process to be *running* when I run it. Otherwise, the process will not be added to the conf10:30
toabctlthis sounds really wrong to me because I want to *monitor* processes (also the procs that are currently not available)10:31
dougsztoabctl: yeah, that's my understanding of it. Personally I statically configure it by just placing config files for the plugins I want in the config directory.10:32
dougsz(although there are some cases when I still use the detection mechanism, but it doesn't always work when things are running in Docker containers)10:33
dougszfor example..10:33
pandytoabctl, First you need config files ( similar like having new plugin), where monasca-setup will detect plugins ( inside conf.d/) and do changes to configuration. when there is no plugin definitely monasca-setup won't do needful10:34
pandyBy default monasca-agent will provide some plugins (inside conf.d/) those can be setup using monasca-setup, else add required plugins (https://github.com/openstack/monasca-agent/blob/master/docs/Plugins.md) and use monasca-setup10:35
*** bobh has joined #openstack-monasca12:18
*** bobh has quit IRC12:24
openstackgerritMichal Arbet proposed openstack/monasca-common master: Fix python3.7 compatibility  https://review.openstack.org/62945312:32
openstackgerritMerged openstack/monasca-api master: Use PYTHON2.7 for npm  https://review.openstack.org/62819412:49
openstackgerritMerged openstack/monasca-log-api master: Add python3 tempest tests  https://review.openstack.org/62431112:49
toabctldougsz, do you want me to change anything else for https://review.openstack.org/#/c/628931/ ? (just asking because there is no +2 from you)13:25
dougsztoabctl: I'm happy with it, just wanted to do a quick test before +2. Thanks for the patches.13:27
witekCourtesy Monasca meeting reminder in #openstack-monasca: witek, jayahn,iurygregory,ezpz,igorn,haad,sc,joadavis, akiraY,tobiajo,dougsz_,fouadben, amofakhar, aagate, haruki,kaiokmo,pandiyan,charana,guilhermesp,chaconpiza14:59
witek#startmeeting monasca15:00
openstackMeeting started Wed Jan  9 15:00:56 2019 UTC and is due to finish in 60 minutes.  The chair is witek. Information about MeetBot at http://wiki.debian.org/MeetBot.15:00
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:00
*** openstack changes topic to " (Meeting topic: monasca)"15:00
openstackThe meeting name has been set to 'monasca'15:01
witekhello everyone15:01
kaiokmoo/15:01
witekhi kaiokmo15:01
kaiokmohello witek15:01
kaiokmohope you enjoyed holidays15:01
dougszhey all15:01
witekhi dougsz15:01
witekyes, thanks :)15:02
pandyhi witek & all, after long time, nice to join weekly meeting15:02
witekagenda for today https://etherpad.openstack.org/p/monasca-team-meeting-agenda15:02
chaconpizaHi15:03
witek#topic CFP for OpenStack Summit15:03
*** openstack changes topic to "CFP for OpenStack Summit (Meeting topic: monasca)"15:03
witekjust the reminder15:03
witekthe deadline is in two weeks15:03
pandywitek, Sure this time am looking forward to submit presentation with challenges in deploying in swarm mode and handling in scale setup. Will send abstract to you in personal before submitting for review15:04
witeksounds good15:05
witekI encourage everyone to submit15:05
witekpresentation or workshop15:05
witekas I said, deadline is January 2315:07
pandyokay :)15:07
witek#topic Operation Query15:07
*** openstack changes topic to "Operation Query (Meeting topic: monasca)"15:07
pandyHi witek, seems it mine15:07
pandyyes, I would like to convey in short about our setup again to all here, we have deployed docker-monasca in docker swarm in dedicated baremetals15:08
pandywhere monasca-agent were installed on 500+ compute nodes in virtualenv15:09
pandyNow we would like to collect metrics and group them by tenant name15:09
pandyhow to achieve that ?15:09
witekwe don't have API call for that15:10
witekprobably it would be easiest to query the TSDB directly15:11
pandyI request you to explain in detail for my easy understanding15:11
witekalternatively you could write a script that would iterate through projects and list metrics for each15:12
pandyokay15:13
pandyI was looking using API call, fine i try with scripting.15:14
pandyAlso felt discrepancy while monitoring http_checks of monasca-components like kafka, monasca-api health status15:15
pandyExample: If kafka died or some error. Monasca-agent getting status after sometime like 5 minutes in average15:15
pandyIf status comes up, that also getting delayed to update with monasca-agent components.15:16
witekwhat is you collection period?15:16
pandy30 sec15:16
pandyI feel the response time is aggregrated value.15:17
pandyQuick workaround, if i restart monasca-agent can reduce response time15:18
dougszHmm, well, if a node in a Kafka cluster dies, won't that affect throughput?15:18
pandyYes it affect, assume kafka not died and failing with kafka-consumer and producer or async15:19
pandyI am running kafka in docker swarm, each worker node having one kafka & zookeeper15:20
pandyBased on heavy hit some interval time need to increase kafka topics values and some other values. But looking short time response by monasca-agent15:21
witekdo you query the http_check metric values, or did you set an alarm on that?15:22
dougszDo you have enough partitions per topic to use all Kafka nodes in parallel?15:23
pandywitek, Here is my docker-file for monasca-agent collector and forwarder along with caadvisor http://paste.openstack.org/show/740743/15:24
witekhow do you measure the delay?15:25
pandyThrough Grafana dashboard kafka.json15:26
pandywitek, whether my docker file environment variables are correct ?15:28
witekdidn't see anything suspect15:28
pandyokay15:29
witekdon't have an explanation15:30
witekyou could examine API logs to see15:30
witekwhere the delay is created15:30
dougsz+1 for analysing delays across the pipeline15:31
pandyYou mean monasca-api15:31
witekyes15:31
witekyou can start in agent, then api and persister15:31
pandyI can query instance metrics with instant response, hope it was done through mon-api and can make sure that responce of mon-api (depend kafka) is fine.15:32
pandyif i query metrics for instance for last 10 seconds working fine, it mean kafka and other mon-api dependent service are fine. But monasca-agent forwarder logs says no response from Mon-api15:34
pandyafter that 5 min interval logs are getting response.15:34
pandyEven i am feeling its not expected one. I will try.15:34
dougszNetwork saturated between the forwarder and the API?15:36
pandydougsz, i feel your answer right15:38
pandysomewhere read that while running application on docker swarm mode network issues happens15:39
witekdo we have anything else?15:39
dougsztoabctl pushed some patches for changing the monasca api config file name to align with other openstack projects15:40
dougszhttps://review.openstack.org/#/c/628931/15:40
witekdougsz: did you have chance to test it?15:40
dougszNot yet, hopefully in the next day or two.15:41
witekthanks15:41
witekI'm still configuring things up in my new dev env15:41
dougsz:)15:41
witekI rechecked https://review.openstack.org/43513615:41
witekand noticed that it's not tested in devstack15:42
witekthe Zuul job name changed and hasn't been updated15:42
witekwill update, and we should merge it15:43
dougszthanks witek - will be nice to make some progress on that patch chain15:43
witekyes, it hangs too long15:43
witekif there's nothing else, I'll be wrapping up15:44
pandywitek, dougsz i have addition question15:44
witekgo ahead15:44
pandyi want to store metrics in influxdb for 30 days or some days. But i want to forecast capacity with InfluxDB with some calculation15:45
pandyHow to forecast and measure metrics data storing on influxdb on certain interval of time ?15:47
dougszCan you not just look at the disk usage on the influxdb container volume?15:47
dougszWe monitor it with Monasca, so you can view historical usage in Grafana, and the see a trend on usage.15:48
pandycan i weigh size of metric ?15:48
dougszpass15:49
pandyIn grafana its collecting IO count & IO read write, don't think it helps to weigh, if mean am sorry and please explain15:50
dougszYou should be able to get remaining disk space as well?15:50
pandyThrough metrics can we find disk space util of influxdb process ?15:52
pandyI think we can measure the container disk util from host machine on period interval15:53
dougszindeed, cadvisor, or monasca agent should be able to hel15:53
dougsz*help15:53
dougszIt depends how you have configured storage for the influxdb docker container volume...15:53
pandyCurrently I am storing all influxdb container data on host machine and monitoring.15:55
witekI agree with dougsz that measuring the actual size will be more accurate than calculation the timeseries size15:55
pandyokay15:56
pandyThanks witek, dougsz :)15:56
witekthank you guys15:57
witeksee you next time15:57
witek#endmeeting15:57
*** openstack changes topic to "OpenStack Monitoring as a Service | https://wiki.openstack.org/wiki/Monasca"15:57
openstackMeeting ended Wed Jan  9 15:57:26 2019 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:57
openstackMinutes:        http://eavesdrop.openstack.org/meetings/monasca/2019/monasca.2019-01-09-15.00.html15:57
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/monasca/2019/monasca.2019-01-09-15.00.txt15:57
openstackLog:            http://eavesdrop.openstack.org/meetings/monasca/2019/monasca.2019-01-09-15.00.log.html15:57
*** chaconpiza has quit IRC15:58
*** pcaruana has quit IRC16:03
*** pandy has quit IRC16:29
openstackgerritWitold Bedyk proposed openstack/monasca-notification master: Update Zuul tempest test job names  https://review.openstack.org/62956416:38
witekdougsz: can we rebase https://review.openstack.org/435136 on ^^^16:40
witek?16:40
dougszsure, will do16:41
openstackgerritWitold Bedyk proposed openstack/monasca-notification master: Make default notifiers pluggable  https://review.openstack.org/43513616:42
witekdone16:42
dougszthanks, you beat me to it :)16:43
*** pandy has joined #openstack-monasca16:59
*** Dobroslaw has quit IRC17:22
*** witek has quit IRC17:33
openstackgerrit98k proposed openstack/python-monascaclient master: Add doc/requirements.txt to releasenotes tox environment  https://review.openstack.org/62959217:35
*** witek has joined #openstack-monasca17:45
*** dougsz has quit IRC17:54
*** witek has quit IRC18:03
*** witek has joined #openstack-monasca18:06
*** witek has quit IRC18:33
*** pandy has quit IRC19:29
*** witek has joined #openstack-monasca21:13
*** witek has quit IRC21:24
openstackgerritMerged openstack/monasca-api master: Remove built-in plugins from database schema  https://review.openstack.org/60364822:12

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