You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2024. It is now read-only.
Currently, the connection_error_total metric is exposed and it tracks the total number of errors when testing the connection to the brokers.
Anyway, this metric has a "connected" label which is always set to false but it doesn't make any sense this way because the metric itself is clearly about errors.
The purpose of the metric was to reporting the total number of connections, successfully or not, by using the "connected" label with true or false value.
For this reason, the metric name was a mistake and it doesn't reflect successful connections (which are anyway not tracked, unless the latency ones).
Said that it would be better changing this metric to connection_total and using the "connected" label the right way to distinguish between success and failure on connection.
To avoid breaking changes, I would deprecate the connection_error_total in the first coming version (0.2.0) while adding the new one connection_total and then removing the error one in the next version (0.3.0?).