🐛: Dashboard seems to confuse received and sent messages
What happened?
In the screenshot above, the received messages are said to be four times the sent messages in the graph, but the opposite in the text. Is it just me or is it for everyone?
How can we reproduce the problem?
I can reproduce the problem by doing the following steps:
- Go to the dashboard and select 90 days
- Compare the numbers and the lines on the graph.
Version
v0.13.x
What database are you using?
None
What blob storage are you using?
RocksDB
Where is your directory located?
Internal
What operating system are you using?
Linux
Relevant log output
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
It's not just you.
My reading of the Stalwart Enterprise License is that I am not permitted to open a pull request for components covered by the SEL (since I would be modifying them and also distributing them in a fork) without explicit permission.
I will however point out that the order of entries in messages_sent_received, which is later used for the chart does not match the order implied by the name and used in the code:
Looking at the Sent Messages card, you can see that the number of sent messages is the sum of queue.queue-message-authenticated, queue.queue-dsn, and queue.queue-report.
However, that's the second entry of messages_sent_received.
So moving the slice with queue.queue-message to the second position, after the slice with the three aforementioned items, should correct this.