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

refactor(action): adapt queue bytes #3034

Merged
merged 4 commits into from
Nov 4, 2024
Merged

refactor(action): adapt queue bytes #3034

merged 4 commits into from
Nov 4, 2024

Conversation

Kinplemelon
Copy link
Member

@Kinplemelon Kinplemelon commented Oct 31, 2024

@Kinplemelon Kinplemelon marked this pull request as ready for review November 4, 2024 06:28
src/i18n/RuleEngine.js Outdated Show resolved Hide resolved
@ysfscream
Copy link
Member

This pull request includes several improvements and new features related to metrics handling and display in the src directory. The most important changes involve the addition of new metrics functionalities, updates to existing components, and enhancements in data handling.

Metrics Enhancements:

  • Added a new slot for custom blocks in the OverviewMetrics component to display additional metrics data (src/components/Metrics/OverviewMetrics.vue).
  • Introduced new event emitters for metrics-change and node-change in OverviewMetrics to handle real-time updates (src/components/Metrics/OverviewMetrics.vue). [1] [2] [3]
  • Implemented a new useActionQueueMetrics hook to manage and display queue metrics, including a line chart for queue bytes data (src/hooks/useMetrics.ts).

Codebase Simplification:

  • Replaced toFixed with round from lodash for better precision handling in transMemorySizeNumToStr function (src/common/tools.ts).
  • Updated the TypeMetricsItem component to correctly calculate and display the difference in metrics data (src/components/Metrics/TypeMetricsItem.vue).

New Features:

  • Added new translations for buffer-related metrics in the i18n configuration (src/i18n/RuleEngine.js).
  • Enhanced the BridgeItemOverview component to include new metrics for queued messages and queue usage, along with corresponding UI updates (src/views/RuleEngine/Bridge/Components/BridgeItemOverview.vue). [1] [2] [3] [4]

@ysfscream ysfscream merged commit 59879de into dev/1.10.2 Nov 4, 2024
3 checks passed
@ysfscream ysfscream deleted the kinple/ce-582 branch November 4, 2024 09:33
@emqxqa
Copy link

emqxqa commented Nov 4, 2024

TestExecution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants