<div dir="ltr"><div dir="ltr">Hi,<br><br>I have a need to collect LTTng live-traces from systems with very limited RAM<br>and flash resources. This tracing will be running continuesly for months<br>monitoring our systems. The only way for me to transport those CTF records<br>somewhere else is via HTTP proxy. LTTng doesn't seem to have support for sending<br>over proxies at all. So I think I really have a challenge a head of me, if this<br>is at all possible.<br><br>The plan is to write my own relayd from which I can then stream the received CTF<br>records + metadata to where I can analyze them. For this to work I need<br>documentation on the protocol between consumerd and relayd. I cannot find the<br>documentation for this, where can I find it?<br><br>Do you think this is a viable solution?<br><br>Once I receive the data where I have the possiblity to analyze it. Then I'm not<br>sure if I'm required to write everything to the file system to be able to<br>analyze the data. How would I then rotate the logs on disc so I can clean up?<br>The best for me would be if I didn't have to go via disc at all I think.<br><br>Are there any others working on similar solution, if so, how are they solving this?<br>How would you recommend I solve this?<br><br>The reason the current relayd doesn't work for me is two-fold:<br>1. I cannot get relayd to not write down the trace to disc. Can you control this<br>   at all for live tracing?<br>2. I cannot find the documentation for the relayd <-> viewer protocol. Where can<br>   I find it?<br><br>It might be that storing the traces on disc is a pre-requisite for serving a<br>viewer properly. Perhaps it's just something required by relayd based on how it<br>works internally. I don't know.<br><br>Do you have any suggestions on how to solve this?<br><br>Any insights and/or feedback would be appreciated. Thanks a lot in advance.<br><br>Patrik Iselind<br></div></div>