-
Notifications
You must be signed in to change notification settings - Fork 11
ingestion analytics initial code completed (to be tested) #53
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
base: master
Are you sure you want to change the base?
Conversation
tags: Dict, | ||
): | ||
|
||
self.ingestion_analytics.log_received_message(topic) |
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.
Lets log the received message from the ROS code that actually receives the ROS message BasicSubscriberCoodinater i think
): | ||
|
||
self.ingestion_analytics.log_received_message(topic) | ||
self.ingestion_analytics.log_sent_message(formant_stream) |
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.
Let's only log a sent message directly after the fclient._post_<type>
calls to ensure its actually sent
def remove_sent_message(self, stream): | ||
if stream in self.sent_messages_count and self.sent_messages_count[stream] > 0: | ||
self.sent_messages_count[stream] -= 1 |
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.
we should never need this
|
||
def reporting_loop(self): | ||
while self.enabled: | ||
self.report() |
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.
lets clear them out after we print
No description provided.