HSLdevcom / transitdata

transitdata publishes GTFS Realtime interfaces
European Union Public License 1.2
10 stars 3 forks source link

Investigate issues in MQTT monitoring #254

Closed mjaakko closed 1 year ago

mjaakko commented 1 year ago

MQTT data collector (https://github.com/HSLdevcom/transitdata-monitor-data-collector/blob/main/mqtt_data_collector.py) for Azure monitoring does not seem to work properly in some cases.

See Slack thread for one example

mjaakko commented 1 year ago

Changed MQTT keep alive interval to detect if MQTT connection is down and message rate is now calculated based on the amount of time that MQTT connection was active

mjaakko commented 1 year ago

Seems that this problem has been fixed, let's open a new issue if this comes up again