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

fix: emqx_ctl traces ... command args #10818

Merged
merged 3 commits into from May 26, 2023
Merged

Conversation

JimMoen
Copy link
Member

@JimMoen JimMoen commented May 25, 2023

Fixes EMQX-9956

Summary

🤖 Generated by Copilot at ddd6198

This pull request fixes the traces start command in the emqx_mgmt_cli module, which was not working properly with some filters. It also improves the output and the code quality of the module, and adds new test cases to verify the functionality.

PR Checklist

Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:

  • Added tests for the changes
  • Changed lines covered in coverage report
  • Change log has been added to changes/{ce,ee}/(feat|perf|fix)-<PR-id>.en.md files
  • For internal contributor: there is a jira ticket to track this change
  • If there should be document changes, a PR to emqx-docs.git is sent, or a jira ticket is created to follow up
  • Schema changes are backward compatible

Checklist for CI (.github/workflows) changes

  • If changed package build workflow, pass this action (manual trigger)
  • Change log has been added to changes/ dir for user-facing artifacts update

thalesmg
thalesmg previously approved these changes May 25, 2023
apps/emqx_management/src/emqx_mgmt_cli.erl Outdated Show resolved Hide resolved
zhongwencool
zhongwencool previously approved these changes May 26, 2023
* use second time as trace `start_at` and `end_at`
* default trace time duration 30min to same as api created
* prevent format line broken
zhongwencool
zhongwencool previously approved these changes May 26, 2023
@JimMoen JimMoen merged commit b74dabe into emqx:master May 26, 2023
62 checks passed
@JimMoen JimMoen deleted the fix-trace-cli branch May 26, 2023 05:36
@yanzhiemq
Copy link
Collaborator

yanzhiemq commented Jun 13, 2023

Bug Fixes

  • Fixed emqx_ctl traces command error where the traces start command in the emqx_mgmt_cli module was not working properly with some filters.

@yanzhiemq
Copy link
Collaborator

yanzhiemq commented Jun 13, 2023

修复

  • 修复了 emqx_ctl traces 命令错误,其中 emqx_mgmt_cli 模块中的 traces start 命令在某些过滤器下无法正常工作。

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.

None yet

4 participants