Friday, 2022-04-22

*** ministry is now known as __ministry02:13
*** ysandeep|out is now known as ysandeep05:10
*** bhagyashris is now known as bhagyashris|ruck05:33
*** jpena|off is now known as jpena06:59
*** ysandeep is now known as ysandeep|lunch07:09
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Improve logsender tool  https://review.opendev.org/c/openstack/ci-log-processing/+/83541907:46
*** ysandeep|lunch is now known as ysandeep09:11
opendevreviewMerged openstack/ci-log-processing master: Improve logsender tool  https://review.opendev.org/c/openstack/ci-log-processing/+/83541909:27
iceydoes anybody know if it's possible to get the tox bindep handling to add a PPA?09:27
iceyit looks like the answer will be no, as the unittest pre step just runs the bindep role, which doesn't do anything except system dependencies09:29
fungiicey: well, also bindep itself doesn't install things, it's just a mechanism for listing required packages and checking to see whether they're installed. how you install those packages and where you install them from is outside the scope of bindep itself. the current ansible role we use there just assumes they'll be available to the package manager on the system (whatever package11:12
fungimanager that is), so if you need additional package repositories added to the system you'd want to express that somehow outside bindep.txt and preempt the existing role with some tasks to add the additional package repos you'll need11:12
*** dviroel|out is now known as dviroel|rover11:14
iceyfungi: yeah, that was what I was leaning towards - thank you for explaining the details :)11:58
*** ysandeep is now known as ysandeep|afk11:58
fungiyw12:04
opendevreviewDr. Jens Harbott proposed openstack/project-config master: Start bulding ubuntu-jammy images  https://review.opendev.org/c/openstack/project-config/+/83905712:49
*** dasm|off is now known as dasm13:16
*** ysandeep|afk is now known as ysandeep13:16
*** Guest2246 is now known as prometheanfire13:54
*** ysandeep is now known as ysandeep|out14:43
*** dviroel|rover is now known as dviroel|rover|lunch15:09
dpawlikdansmith: hey, by doing: tags: "performance"  you should be able to get informations in Opensearch for performance.json file15:11
dansmithdpawlik: something I wasn't clear about in the meeting yesterday, is logstash.o.o the "new" one now?15:12
dpawlikhttps://opensearch.logs.openstack.org/_dashboards/app/discover/?security_tenant=global     this one is a new one15:12
dpawlik https://docs.openstack.org/project-team-guide/testing.html#checking-status-of-other-job-results15:13
dansmithah, I see, .. different15:13
dansmithso, cool, I tags:performance works15:15
*** akekane_ is now known as abhishekk15:15
dansmithI was thinking clarkb was saying that this would be digested not just as a message string, but so that we can query and filter on the actual values in there15:15
dansmithbut maybe I misunderstood?15:15
dansmithclarkb: is the json file in as a string what we need to use it a a source for graphing?15:16
dpawlikdansmith: I would not to proceed the json in the logsender.... the service is doing very simple things, but it got a lot work to do15:18
dpawlikmaybe some script that will query the opensearch, parse the json and maybe push into other index?15:19
dpawliks/other/another/15:19
clarkbeach elasticsearch document is a json blob15:19
clarkbin the log case we construct a json blob with a mesage and time and priority etc15:19
clarkbin the case of dansmith's data we'd send it in as is to a different index so that we don't pollute the log data with the metric data15:20
clarkbthen you can query service.foo.memory or whatever the actual path is and tools like grafana can graph all the resulting data points15:20
dansmithclarkb: right so this is just a document with message: $performance_json_string15:20
clarkbdansmith: no that makes it hard/impossible to query15:20
dansmithokay, right that's why I was surprised to see this.. I didn't expect this to be workable15:21
clarkbthe log messages are sent like { message: "I'm a log", timestamp: "20220101T12:12:12.123", priority: "INFO"}15:21
dansmithyeah15:21
clarkbthen you can query elasticsearch for all mesasges matching "a" or whatever15:21
clarkbfor this data you would send { "service": stuff, "db": stuff} and then you can just say give me all the service nova memory records over a threshold for this time period15:22
dansmithand would the value for 'service" be a json string of the stuff under there?15:23
clarkbdansmith: no everything between the {} is your raw json document that you ar ealready producing15:23
clarkbwe would send it as is. We might need to add a timestamp and a job name now that I think of it though15:24
clarkbbut I think your generated info is largely the actual document we want ot store in the database15:24
dansmithclarkb: okay I wasn't sure if you mean the json doc itself, or pick off the top-level bits and stringify the contents underneath, but yeah, full ingest is what I was expecting15:25
clarkbya if we stringify them then the records become less serachable15:25
clarkbwith logs we accept that because logs are inteded to be human readable first15:26
clarkbbut with metrics like this the document should be stored largely as is15:26
fungithough structured logs are also a thing these days15:26
dansmithright, since this is just a string of json, I thought maybe I was misunderstanding what you were proposing, but sounds like you're expecting us to get the actual json doc in as it is so we can query individual values15:26
sean-k-mooneyi mean oslo support exporting logs in json format unfortually there is nothign to rexport them in human readbale formant15:27
dpawlikit might create a many fields in the index that will be not used15:27
sean-k-mooneywe have one downstream custoemr that use json fromated logs in there env and i hate trying to debug thigns when they file bugs15:27
dansmiththat's not the topic here.. just using logs as an example15:27
clarkbdansmith: yes exactly15:27
clarkbdpawlik: possibly though dansmith has identified useful info and is distilling it all down into a single doc15:28
clarkbdpawlik: but also I would index these records in a new index not the log index15:28
clarkbthen people who query for logs won't also see the metrics and vice versa. You would query the index you want depending on the info you want15:28
clarkbthi shas the additional advantange of allowing different pruning periods for the different data15:29
dpawlikclarkb: right15:29
dpawlikwhat if create an other tool that will make a query, take the message and parse the json?15:30
clarkbya that would probably be fine too15:30
dpawlikso the logsender does not need to handle that and we can specify the endpoint whatever it is15:30
clarkbthe important bit here I htink is to not treat this as log data but as metrics stored in a slightly different way in the db. If that implies a different ingest tool that is fine15:31
dpawlikI will think during the weekend what will be the best way. Let's talk about it on monday15:33
dpawlikenjoy your weekend15:34
dansmiththanks dpawlik !15:35
clarkbI know that you've said you don't want to use logstash or that it isn't necessary but this is where a tool like logstash can be helpful15:35
clarkbrathe rthan need to rewrite a tool you just update a small config file to say "input of this form gets treated this way"15:35
*** jpena is now known as jpena|off15:55
*** dviroel|rover|lunch is now known as dviroel|rover16:14
opendevreviewLuciano Lo Giudice proposed openstack/project-config master: Add the cinder-three-par to Openstack charms  https://review.opendev.org/c/openstack/project-config/+/83778216:37
*** dviroel|rover is now known as dviroel|rover|biab20:31
*** dviroel|rover|biab is now known as dviroel|rover21:02
opendevreviewGage Hugo proposed openstack/project-config master: End project gating for openstack-helm-docs  https://review.opendev.org/c/openstack/project-config/+/83910321:10
*** dviroel|rover is now known as dviroel|rover|biab21:16
*** dasm is now known as dasm|off22:03

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!