-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding more fields to log #100
base: main
Are you sure you want to change the base?
Conversation
I would argue that after #99 we don't need to log queue sizes anymore. |
I still think we should tbh. Theres no reason not to. It definitely helps with debugging and finding where performance issues happen, and it's one of the fields where you cant go back in post-processing and find it out then. |
well in #99, the fetched packets will be no greater than 15 per iteration |
I agree with will. If for some reason in the future they do exceed 15, we wouldn't know that easily, |
i mean whats one more column on the log file. Gotta use the whole 128gb if we have 128gb |
alright, it could be ever so slightly more overhead but it's probably worth it. |
Changes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like the debug packet is just not an elegant solution to this issue. While I can see the purpose of logging at the start of each set of packets, this seems like it adds a lot more complexity to the issue. Passing the DebugPacket into a LoggedDataPacket just doesn't really sit right with me lol. I think just having these values logged every line (even if they don't update) is a cleaner solution, and arguably easier to do post-processing with.
Well we do have a lot of fields to log and the If we log these for the entire batch, then we would need another field to know which packet was the first one in the batch. I guess it's now up to @JacksonElia to break the tie. |
I agree with Will here, I don't think I like the DebugDataPacket. Though because we have multiple fields we are logging from the apogee predictor, I would be fine with an apogee_prediction_data_packets. As for the queue sizes, I think they should be logged separately/individually. After thinking about this a lot though, I think that the cleanest solution could eventually be using **kwargs when logging. Maybe I'll add it eventually. |
So another data packet class but would only contain things from that process? I can get behind that. How do you want to send the packets from that process to the main process? Do you want to include
Where? Some more details would be nice |
Why not log even more data? With this PR we need to log:
Must be merged after #99