Skip to content

Metrics updates#274

Merged
dmytro-landiak merged 21 commits into
mainfrom
metrics
Dec 11, 2025
Merged

Metrics updates#274
dmytro-landiak merged 21 commits into
mainfrom
metrics

Conversation

@dmytro-landiak
Copy link
Copy Markdown
Contributor

@dmytro-landiak dmytro-landiak commented Dec 11, 2025

Pull Request description

This PR introduces major improvements to how TBMQ tracks, structures, and presents metrics, with a focus on more accurate payload-level observability and a cleaner UI/UX in the Monitoring and Home dashboards.

Key Changes

1. Enhanced metric tracking and counting

  • Reworked the internal logic for collecting metrics to improve accuracy and consistency.
  • Introduced clearer separation of responsibilities in the metric pipeline.

2. New payload-oriented traffic metrics

  • Removed the old network traffic metric.
  • Added two new metrics: incoming payload traffic and outgoing payload traffic.
    These better reflect real data flow by counting only actual payload bytes, excluding control packets.
    This provides more meaningful insights into client load and bandwidth consumption.

3. Monitoring UI improvements

  • The Monitoring page now contains two separate tabs, grouping graphs logically according to their domain.
  • Labels, tooltips, and hints across graphs were updated for clarity and consistency.
  • Added a *new graph for retained messages.

4. Home page graph refactoring

  • Refactored and optimized all charts on the Home page.
  • Reordered graphs based on priority to highlight the most important operational metrics.

General checklist

  • You have reviewed the guidelines document.
  • Labels that classify your pull request have been added.
  • The milestone is specified and corresponds to fix version.
  • Description references specific issue.
  • Description contains human-readable scope of changes.
  • Description contains brief notes about what needs to be added to the documentation.
  • No merge conflicts, commented blocks of code, code formatting issues.
  • Changes are backward compatible or upgrade script is provided.

Front-End feature checklist

  • Screenshots with affected component(s) are added. The best option is to provide 2 screens: before and after changes;
  • If you change the widget or other API, ensure it is backward-compatible or upgrade script is present.

Back-End feature checklist

  • Added corresponding unit and/or integration test(s). Provide written explanation in the PR description if you have failed to add tests.
  • If new dependency was added: the dependency tree is checked for conflicts.

@dmytro-landiak dmytro-landiak added this to the 2.3.0 milestone Dec 11, 2025
@dmytro-landiak dmytro-landiak added Enhancement New feature or request UI Minor improvement to UI Core Minor improvement to Core services labels Dec 11, 2025
@dmytro-landiak dmytro-landiak merged commit e9571d5 into main Dec 11, 2025
1 check passed
@dmytro-landiak dmytro-landiak deleted the metrics branch December 11, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Minor improvement to Core services Enhancement New feature or request UI Minor improvement to UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants