Skip to content

Conversation

teogeb
Copy link
Contributor

@teogeb teogeb commented Apr 7, 2022

Update ConsoleMetrics to read the resend metrics from the data provided by DataQueryEndpoints. The previous implementation used websocket connection data, and it was always empty as legacyWebsocket plugin has been removed.

Previous data:

Total ongoing resends: %d (mean age %d ms)

Current data:

Resends:
- last: %d requests/s
- from: %d requests/s
- range: %d requests/s

The outBytes and outMessages metrics from DataQueryEndpoints aren't included as no data was produced for those metrics.

Remove also broker connections count metrics in ConsoleMetrics as the non-existing websocket data was used there, too.

@teogeb teogeb requested a review from harbu April 7, 2022 11:29
@github-actions github-actions bot added the broker Related to Broker Package label Apr 7, 2022
@teogeb teogeb merged commit 604e423 into main Apr 7, 2022
@teogeb teogeb deleted the console-resend-metrics branch April 7, 2022 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broker Related to Broker Package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants