Commit Graph

102 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi dbc10c2eed chore: update copyright year 2023 2023-01-02 09:22:27 +01:00
Zaiming (Stone) Shi 981f75dc73 test(emqx_modules): do not expect badmatch in test cases!!! 2022-12-30 14:20:24 +01:00
Stefan Strigler 2443500884 fix: return 404 for /telemetry/data in case it's disabled 2022-12-05 12:41:27 +01:00
firest 4290847b9d feat: filter out messages which the source client is banned when delivering the retained message 2022-11-10 10:21:21 +08:00
firest dd7d4224ce feat(delayed): check if the source client is banned when publishing a delayed message 2022-11-08 16:32:24 +08:00
firest ebaba0c2b1 fix: Revert "feat(banned): clean retained/delayed data when client is banned"
This reverts commit 69701ff578.
2022-11-08 11:36:11 +08:00
firest bdaadda479 fix(banned): fix nit code 2022-10-18 13:39:48 +08:00
firest 69701ff578 feat(banned): clean retained/delayed data when client is banned 2022-10-18 13:35:09 +08:00
firest 6836a502ac fix(delayed): Improve time precision of delayed messages
Use milliseconds internally in emqx_delayed to store the publish time, improving precision
2022-09-27 13:24:54 +08:00
Xinyu Liu 3b00b16abe
Merge pull request #8221 from terry-xiaoyu/fix_delayed_module_disbled_after_emqx_stop
feat: fix the hook priorities
2022-06-16 09:42:42 +08:00
Zaiming (Stone) Shi 738a551550 refactor: best-effort json for hocon validation errors 2022-06-15 15:01:15 +02:00
Shawn 4ef86b47c7 fix: flaky test case for emqx_delayed 2022-06-15 18:21:57 +08:00
Shawn 590a87a72b fix: the delayed module is disbled after ./bin/emqx stop 2022-06-15 12:00:41 +08:00
Georgy Sychev c29eb8a409 feat(testing): Multinode testing helper 2022-06-09 13:33:01 +04:00
Zhongwen Deng 5e92ef54c5 fix: ct failed 2022-06-07 20:13:57 +08:00
Zhongwen Deng 618a3e0cb8 fix: emqx_topic_metrics CT failed 2022-06-07 10:39:07 +08:00
Zhongwen Deng d61b44ef97 fix: ct failed again 2022-05-31 19:20:27 +08:00
JianBo He 33774c8b16
Merge pull request #8068 from lafirest/feat/topic_rewrite_5
feat(rewrite): Support %u and %c placeholders in topic rewrite rules
2022-05-31 10:14:18 +08:00
Thales Macedo Garitezi 1892e67547
fix: fix flaky test 2022-05-27 11:05:25 -03:00
firest 1d0b479d8e feat(rewrite): Support %u and %c placeholders in topic rewrite rules
fix #7438
2022-05-27 17:36:07 +08:00
Shawn 55fce33477 fix: add telemetry testcases in all/0 2022-05-25 21:55:28 +08:00
Shawn a157539710 refactor(rule): rename http_bridge -> webhook 2022-05-25 18:56:12 +08:00
Shawn 71de9616d3 refactor(rule): rename outputs -> actions 2022-05-25 17:02:37 +08:00
Thales Macedo Garitezi 4afb4d9dd8
feat(telemetry): save uuids to files
In order for the node and cluster UUIDs used by telemetry to survive
database purges, we'll save the generated UUIDs to files in EMQX's
data directory as well.
2022-05-24 09:32:04 -03:00
Thales Macedo Garitezi e0a6ebbd56
fix(telemetry): use the live connection count instead of max conns 2022-05-13 09:02:15 -03:00
Thales Macedo Garitezi 47ed9cbc76
fix(telemetry): count bridges referenced in `from` rule clauses 2022-05-11 15:15:17 -03:00
Thales Macedo Garitezi 9e706fc76d
feat(telemetry): count advanced mqtt feature usage
Originally, we wanted to just check if certain features were enabled.
Now, we want to count certain usage metrics for them.
2022-05-11 15:15:17 -03:00
Shawn 0c8a7e751f fix(test): clear emqx_cluster_rpc mnesia table at the end of the suite 2022-04-29 18:53:01 +08:00
Shawn ef0e6d7fd8 fix(test): ensure the test node removed from the ekka cluster 2022-04-29 16:43:51 +08:00
Shawn 1393ab677d fix(test): race condition in emqx_telemetry_SUITE 2022-04-29 16:43:51 +08:00
JianBo He 2dded74584
Merge pull request #7716 from lafirest/fix/delayed_disable_action
fix(delayed): unify and optimize the enable/disable codes
2022-04-28 09:39:41 +08:00
firest 3429eaabcd test(delayed): add enable/disable test for delayed 2022-04-27 13:52:42 +08:00
firest fc391c7b9e fix(delayed): unify and optimize the enable/disable codes 2022-04-26 15:26:40 +08:00
Thales Macedo Garitezi 727bc712e6
fix(telemetry): avoid hanging emqx_modules_app init with request 2022-04-25 11:54:01 -03:00
Thales Macedo Garitezi 6e819b5ecb
feat(telemetry): enable/disable even in non-official versions
- Makes telemetry enabled by default on official versions.
- Allow enabling/disabling telemetry even on non-official versions.
2022-04-20 07:42:03 -03:00
Thales Macedo Garitezi ec1ff14759
fix(test): fix flaky test node setup 2022-04-20 05:05:48 -03:00
Thales Macedo Garitezi ac7a13f9f2
fix(test): fix flaky property 2022-04-20 05:05:48 -03:00
Thales Macedo Garitezi 1c71237abe
feat(telemetry): add cluster uuid 2022-04-13 11:48:37 -03:00
Thales Macedo Garitezi 6eed6e45c2
feat(telemetry): report basic exhook usage 2022-04-07 13:52:28 -03:00
Thales Macedo Garitezi 0aa3597736
feat(telemetry): report basic rule and bridge info 2022-04-06 10:20:23 -03:00
Thales Macedo Garitezi 8431aecf9b
Merge pull request #7515 from thalesmg/telemetry-revamp-part4
feat(telemetry): add gateway info to reported data
2022-04-05 15:58:45 -03:00
Ilya Averyanov f4e4331556 chore(emqx_mangement): improve emqx_mgmt_api_nodes coverage 2022-04-04 23:39:53 +03:00
Thales Macedo Garitezi af4ad5721f
feat(telemetry): add gateway info to reported data 2022-04-04 15:21:02 -03:00
Ilya Averyanov 8f0497c441 chore(emqx_modules): add tests and refactor
* improve `emqx_rewrite_api` coverage
* improve `emqx_telemetry_api` coverage
* refactor `emqx_telemetry` to use config clustering for settings
2022-04-04 18:16:07 +03:00
Zaiming (Stone) Shi 5080c17ad6
Merge pull request #7512 from zmstone/0404-5.0-add-test-coverage-for-observer-cli
test: add test coverage for emqx_observer_cli
2022-04-04 13:47:05 +01:00
Zaiming (Stone) Shi c24d61efcd test: add test coverage for emqx_observer_cli 2022-04-04 11:57:33 +02:00
Thales Macedo Garitezi b07b705621
feat(telemetry): add authn and authz info to telemetry data 2022-04-01 09:24:51 -03:00
Ilya Averyanov 8f5812e61f
Merge pull request #7479 from savonarola/emqx_topic_metrics-cov
chore(emqx_modules): improve emqx_topic_metrics coverage
2022-03-31 23:15:35 +03:00
Ilya Averyanov ce437ac5b2 chore(emqx_modules): improve emqx_delayed coverage 2022-03-31 20:29:46 +03:00
Ilya Averyanov 12f6b8fab0 chore(emqx_modules): improve emqx_delayed_api coverage 2022-03-31 18:44:29 +03:00