Skip to content
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

Closed
uvzubovs opened this issue Aug 23, 2016 · 1 comment
Closed

Comments

@uvzubovs
Copy link

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 Inaccurate reporting of sent messages with ACL in effect Inaccurate reporting of number of message delivered over websockets Aug 23, 2016
@PierreF
Copy link
Contributor

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 as completed Jan 2, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants