Tuesday, 2020-01-21

*** witek has joined #openstack-monasca08:02
*** dougsz has joined #openstack-monasca09:17
*** Chiara1234 has joined #openstack-monasca09:20
openstackgerritWitold Bedyk proposed openstack/monasca-persister master: Add configuration option influxdb.batch_size  https://review.opendev.org/70356309:21
Chiara1234Hello, I'm trying to see on grafana dashboards the metrics' value, however when adding Monasca as a Datasource I'm not sure how to correctly configure it. I used Horizon as Authenticathion field (since I'm using devstack deploy with monasca-ui) but I receive an error message "Unautorized"09:38
Chiara1234Also, in the http setting, in the url field, should I use the metrics url?09:39
witekChiara1234: in Devstack we use the forked version of Grafana09:53
witekit syncs it's user database with Keystone09:53
witekso you can log in as mini-mon:password and the datasource is already pre-configured09:54
Chiara1234I see! I was using the wrong credentials then! Thanks again :D09:55
*** ivve has joined #openstack-monasca10:07
openstackgerritWitold Bedyk proposed openstack/monasca-persister master: Add configuration option influxdb.batch_size  https://review.opendev.org/70356310:08
*** Chiara1234 has quit IRC10:12
*** openstackgerrit has quit IRC10:12
*** witek has quit IRC10:25
*** witek has joined #openstack-monasca10:43
*** openstackgerrit has joined #openstack-monasca10:49
openstackgerritWitold Bedyk proposed openstack/monasca-api master: Allow users to set periodic notifications on all notification types  https://review.opendev.org/69386310:49
*** Wasaac has quit IRC11:32
*** Wasaac has joined #openstack-monasca11:34
openstackgerritWitold Bedyk proposed openstack/monasca-tempest-plugin master: Set tempest tests for logs as voting again  https://review.opendev.org/70359311:58
*** Wasaac has quit IRC12:12
*** Wasaac has joined #openstack-monasca12:12
*** witek has quit IRC12:25
*** witek has joined #openstack-monasca12:40
witekCourtesy Monasca meeting reminder in 4 minutes in #openstack-monasca: witek, jayahn,iurygregory,ezpz,igorn,haad,sc,joadavis, akiraY,tobiajo,dougsz,fouadben, amofakhar, haru5ny (haruki),kaiokmo,pandiyan,guilhermesp,chaconpiza,hosanai,Wasaac,brtknr12:56
witek#startmeeting monasca13:00
openstackMeeting started Tue Jan 21 13:00:26 2020 UTC and is due to finish in 60 minutes.  The chair is witek. Information about MeetBot at http://wiki.debian.org/MeetBot.13:00
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.13:00
*** openstack changes topic to " (Meeting topic: monasca)"13:00
openstackThe meeting name has been set to 'monasca'13:00
witekhello everyone13:00
chaconpizahi13:00
witekhi Martin13:00
witekthe agenda for today consists of two points as of now:13:01
witekhttps://etherpad.openstack.org/p/monasca-team-meeting-agenda13:01
witekfeel free to add new items13:01
witek#topic persister performance optimization13:02
*** openstack changes topic to "persister performance optimization (Meeting topic: monasca)"13:02
dougszhi all13:02
witekhi Doug13:02
witekI've stumbled upon a blog article about InfluxDB Python client13:02
witekhttps://www.influxdata.com/blog/writing-data-to-influxdb-with-python/13:03
witekone interesting thing they mention, is the recommended batch size for sending datapoints to InfluxDB13:03
witekthe recommended value is 5000 to 10000 data points per request13:04
*** bandorf has joined #openstack-monasca13:05
witekthe client offers an argument to split larger requests to batches of a given size13:05
witekand so I proposed a patch to allow configuring this value in monasca-persister as well13:06
witekhttps://review.opendev.org/70356313:06
*** adriancz has joined #openstack-monasca13:07
witekI have to admit I haven't measured performance impact13:08
witekany questions or comments on that?13:09
witekif not, we can move on13:09
chaconpizaWe have in devstack:13:10
chaconpiza[kafka_metrics]13:10
chaconpizabatch_size = 3013:10
bandorfWe can execute some system tests, but it will take some time13:10
chaconpizathen it would change to 10000?13:10
* witek checking Kafka settings13:10
chaconpizaI found it in /etc/monasca-persister/monasca-persister.conf13:11
bandorfI'm a bit confused:13:11
bandorfAccording to Martin, this value has been configured already now. witek: You wrote that you did a change to allow config. of this vale13:12
witekright, the value which Martin mentions configures the batch size consumed from Kafka13:13
witekso, effectively, my change won't have any impact13:14
dougsz`# Maximum number of metrics to buffer before writing to database (integer value)13:14
dougsz#batch_size = 2000013:14
dougsz`13:14
dougszThat makes sense - I recall seeing that limit applied in the logs13:14
witekI think adding InfluxDB option doesn't hurt though13:16
witekI should probably document that also Kafka config affects the actual batch size13:16
witekthanks for spotting this chaconpiza13:17
witekbatch_size = 30 seems somewhat low though, in terms of InfluxDB performance13:19
chaconpizaand for other topics the batch_size is = 113:19
witekbut only metrics topic gets persisted to InfluxDB13:20
chaconpizaI am wondering if [kafka_alarm_history] goes to influxDB as well13:21
witekit does, but is more or less negligible in terms of performance13:22
chaconpizawith topic = alarm-state-transitions13:22
chaconpizaok13:22
bandorfRegarding the batch size for metrics: We can execute some system tests, with different values for the batch size13:23
witekthat would be nice in any case13:24
witekI think the reason for choosing low Kafka batch size was to reduce delays when system is under low load13:25
dougszDoesn't it do a periodic flush as well?13:26
dougszAt least it does for metrics13:26
bandorfYes, that's what I have in mind as well.13:26
witekyou're right again, we have `max_wait_time_seconds`13:28
dougszI'm just thinking about the Kafka batch_size setting for metrics -  I suppose that controls how much data is pulled from typically a spinning disk into RAM from Kafka, and generally you might want that to be a large chunk13:28
witekyes, and having an option to control this independently to what is written to InfluxDB offers more flexibility for performance optimization13:29
dougszYeah - perhaps 20000 is on the small side for that. Benchmarking will be interesting13:30
bandorfI assume, currently the batch size "read from kafka" is the batch size used for sending to influxdb?13:31
dougszyeah, I believe so13:31
witekbandorf: correct13:31
witekplaying with these two parameters would be really interesting13:32
bandorfThen, we can relatively easy perform a test with different values for that batch size.13:32
witekbandorf: that would be great, thanks13:33
bandorfI need to check with our system test team when we can execute such tests.13:33
dougszyeah - I've found influxdb to very much not be the bottle neck until I have 10s of cores dedicated to persister processes13:33
dougszthanks bandorf13:33
witeknice, thanks for this interesting discussion13:34
witekI think we can move on13:34
witek#topic monasca-log-api repo maintanance13:34
*** openstack changes topic to "monasca-log-api repo maintanance (Meeting topic: monasca)"13:34
witekI'm wondering how we should proceed with maintaining the monasca-log-api repo after we've merged all the code to monasca-api13:35
witektheoretically we could still have cases when we want to provide bugfixes13:36
witekshould we drop DevStack as currently proposed and propose bugfixes to stable branches if needed?13:37
dougszWhen do we stop supporting it? This cycle?13:37
witekmight be to quick, right? I think we can mark it as deprecated13:38
dougszyeah, and remove in Victoria perhaps?13:38
dougszSo this cycle we still need to target bug fix patches at master13:39
dougszIf we drop devstack support, will that mean we can no longer run tempest against it?13:40
witekthe new job is configured with monasca-api DevStack plugin, so it doesn't test monasca-log-api repo13:41
witekyes, I think it's the right way to keep all the old content and CI setup and remove in Victoria or following cycle13:43
witekfor now, just mark the repo as deprecated13:43
witekchaconpiza: adriancz: what do you think?13:43
adrianczyes, i think we should mark this repo as deprecated13:44
chaconpizaI agree13:44
adrianczand remove this in next cycle13:45
witekagreed, thanks13:45
dougszyeah + 1 to remove asap, we don't want the burden13:45
bandorfI agree as well13:45
dougszI will switch Kolla this cycle13:45
witek#topic AOB13:45
*** openstack changes topic to "AOB (Meeting topic: monasca)"13:45
witekanything else for today?13:46
witekjust a notice about self-healing and auto-scaling SIGs joint meeting in 12 minutes13:47
witekin #openstack-meeting13:47
dougszthanks - I will lurk13:48
witekthanks for joining today and for interesting discussions13:48
dougsz+113:48
witeksee you next week13:48
witekbye bye13:48
chaconpizathanks bye13:48
bandorfThanks and good-bye13:48
dougszbye13:49
witek#endmeeting13:49
*** openstack changes topic to "OpenStack Monitoring as a Service | https://wiki.openstack.org/wiki/Monasca"13:49
openstackMeeting ended Tue Jan 21 13:49:03 2020 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)13:49
openstackMinutes:        http://eavesdrop.openstack.org/meetings/monasca/2020/monasca.2020-01-21-13.00.html13:49
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/monasca/2020/monasca.2020-01-21-13.00.txt13:49
adrianczthanks bye13:49
openstackLog:            http://eavesdrop.openstack.org/meetings/monasca/2020/monasca.2020-01-21-13.00.log.html13:49
*** chaconpiza has quit IRC15:06
openstackgerritArseni Lipinski proposed openstack/monasca-kibana-plugin master: [WIP] Upgrade monasca-kibana-plugin for Elkstack update  https://review.opendev.org/68007515:19
*** bandorf has quit IRC16:12
*** openstackgerrit has quit IRC16:13
*** arseni-lipinski- has joined #openstack-monasca16:36
*** dougsz has quit IRC17:57
*** openstackgerrit has joined #openstack-monasca17:59
openstackgerritArseni Lipinski proposed openstack/monasca-api master: [WIP] Added build and installation for monasca-kibana-plugin in new API  https://review.opendev.org/70366117:59
openstackgerritArseni Lipinski proposed openstack/monasca-api master: [WIP] Add build and installation for monasca-kibana-plugin in new API  https://review.opendev.org/70366118:05
*** witek has quit IRC18:07
openstackgerritArseni Lipinski proposed openstack/monasca-kibana-plugin master: [WIP] Upgrade monasca-kibana-plugin for Elkstack update  https://review.opendev.org/68007518:10
*** arseni-lipinski- has quit IRC18:56

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