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

Inaccurate reporting of number of message delivered over websockets #250

uvzubovs opened this Issue Aug 23, 2016 · 1 comment


None yet
2 participants

uvzubovs commented Aug 23, 2016

I have producer publishing over straight MQTT and consumer subscribed over websockets.

Consumer receives messages, but $SYS/broker/broker_publish_messages_sent (I think this is the number of messages delivered by the broker to the consumer) remains at zero, whereas $SYS/broker/broker_publish_messages_received reflects the number of messages published. $SYS/broker/broker_publish_bytes_sent seems to increment properly, though.

Note that broker_publish_messages_sent increments in tandem with broker_publish_messages_received if consumer is subscribed over straight MQTT.

@uvzubovs uvzubovs changed the title from Inaccurate reporting of sent messages with ACL in effect to Inaccurate reporting of number of message delivered over websockets Aug 23, 2016


This comment has been minimized.


PierreF commented Jan 2, 2018

Some counter were not updated when a message is sent over Websockets. Those counter are:

  • $SYS/broker/messages/sent
  • $SYS/broker/publish/messages/sent
  • $SYS/broker/bytes/sent

A fix is committed on branch fixes.

@PierreF PierreF closed this Jan 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment