Commit Graph

106 Commits

Author SHA1 Message Date
JianBo He 94efb190c6 Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4 2022-03-24 07:08:06 +08:00
firest a2085555e9 fix(mod_subscription): fix test case error 2022-03-23 17:37:06 +08:00
Zaiming (Stone) Shi 42d94b478f fix: update app vsn and update appup 2022-03-22 21:08:20 +01:00
Zaiming (Stone) Shi 692e2c79a2 chore: update appups after merge 2022-03-22 20:58:34 +01:00
Zaiming (Stone) Shi 6ea8d2f270 Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4 2022-03-22 20:54:22 +01:00
firest c43f179204 fix(mod_subscription): improve the log information 2022-03-22 18:09:06 +08:00
firest 4fe9275103 chore(modules): update appup file 2022-03-22 10:08:52 +08:00
firest c2b1571134 fix(auto_subscribe): make log if the topic is empty when auto subscribe 2022-03-21 18:32:42 +08:00
firest 3e6249a8b7 fix: bump emqx_modules version 2022-03-16 15:28:44 +08:00
firest 186ff243ed fix(delayed): cancel stats timer when terminate 2022-03-16 14:57:17 +08:00
lafirest 03374cdf14 test(slow_subs): fix the flaky case, relax the range check 2022-03-07 17:54:13 +08:00
JianBo He a88dd4aaa5 Merge tag 'v4.3.12' into main-v4.4 2022-02-14 19:37:59 +08:00
Thales Macedo Garitezi b968d4c416
fix(ctl): fix formatting when printing messages without arguments (4.3)
Without passing an empty argument list to `emqx_ctl:print`, formatting
instructions like `~n` are being printed literally.

```
Ignore.~nJoin the cluster successfully.~nCluster status: #{running_nodes =>
                      ['emqx@emqx-0.int.thalesmg','emqx@emqx-1.int.thalesmg',
                       'emqx@emqx-2.int.thalesmg','emqx@emqx-3.int.thalesmg',
                       'emqx@emqx-4.int.thalesmg'],
                  stopped_nodes => []}
```
2022-02-09 09:36:27 -03:00
zhongwencool bcb15f2a95 fix(trace): don't return 500 when emqx_mod_trace not started. 2022-02-08 14:56:02 +08:00
JianBo He 1d7a1fde8a fix(modules): update the appup.src 2022-01-28 15:43:32 +08:00
JianBo He b635d56aec Merge branch 'main-v4.3' into merge-main-v4.3-into-v4.4 2022-01-21 16:27:56 +08:00
JianBo He 3b4ddd6f51 chore: bump emqx_modules vsn 2022-01-21 15:05:13 +08:00
JianBo He 8f517cebf7
Merge branch 'main-v4.3' into more-fields-for-webhook 2022-01-21 15:01:38 +08:00
JianBo He 09002c4cd2 revert: revert #6797 due to the acl metrics refactor 2022-01-21 14:24:03 +08:00
JianBo He 77609ebd96 chore: bump vsn and update appup.src 2022-01-21 13:52:07 +08:00
JianBo He ad996afe47 chore: ensure connected_at field for connect/connack/disconnected event 2022-01-21 13:52:05 +08:00
JianBo He d535d44845 revert: revert #6797 due to the acl metrics refactor 2022-01-21 11:32:10 +08:00
zhongwencool 4317845482 fix(test): test case failed by unload 2022-01-19 19:48:07 +08:00
zhongwencool 6378cd1f9a chore(version): bump emqx_modules to 4.3.4 2022-01-19 18:05:51 +08:00
zhongwencool e1274e1117 feat(acl): internal acl should support metrics(client.acl.ignore/allow/deny). 2022-01-19 18:00:54 +08:00
lafirest d02529b1d5 fix(emqx_slow_subs_api): fix test case error 2022-01-19 16:56:31 +08:00
lafirest 44fe882f14 refactor(emqx_slow_subs): refactor slow subs 2022-01-19 09:50:31 +08:00
zhongwencool ce3006c916 chore: clean up emqx_modules's appup.src for 4.4.0 2021-12-14 10:12:05 +08:00
lafirest e651becd99 fix(emqx_slow_subs): fix threshold related bugs
1. limit the interval between calling hooks
2. improve the code of update threshold
2021-12-08 15:05:39 +08:00
lafirest 48f8c735ea feat(emqx_slow_subs): add dyanamic threshold 2021-12-03 18:11:07 +08:00
lafirest fef3fc27cb
refactor(emqx_slow_subs): refactor use moving average (#6287)
* refactor(emqx_slow_subs): refactor use moving average

* fix(emqx_slow_subs): change elapsed to latency, and fix some error

* fix(emqx_slow_subs): fix emqx_mgmt_api.erl indent

* fix(emqx_slow_subs): change api name

* fix(emqx_slow_subs): fix and improve some code

* fix(emqx_slow_subs): move clienid filed from latency_stats to session
2021-11-26 10:42:15 +08:00
zhongwencool d76275d17d feat: add support ip_address trace options 2021-11-22 15:20:24 +08:00
lafirest 42333882c8
fix(emqx_st_statistics): fix unsafe rank range (#6207)
* fix(emqx_st_statistics): fix unsafe rank range
2021-11-18 14:41:59 +08:00
Zaiming Shi ced2429011 fix: bump new feature lib-ce apps to 4.4 2021-11-16 16:08:36 +01:00
zhongwencool 96d2615cc8
fix: return error code when trace log not foundd (#6168) 2021-11-15 17:41:22 +08:00
zhongwencool 23e2bd62c5
fix: there should not be multiple layers of directories when download trace zip file (#6165) 2021-11-15 15:53:49 +08:00
zhongwencool 6bd5fd218e
chore: limit/page to position/bytes (#6161) 2021-11-15 11:02:45 +08:00
zhongwencool 7193cd4275
feat(trace): move common trace module to plugin_libs (#6127)
* feat(trace): move common mod to plugin_libs

* fix: elvis warning
2021-11-12 07:33:36 +08:00
lafirest 9d4f2916c2
refactor(emqx_st_statistics): optimize the code directory structure (#6128) 2021-11-11 23:49:54 +08:00
zhongwencool 835ad52498
feat(trace): http api for trace (#6052)
* feat(trace): add http trace API

* feat: sub/unsub trace topic

* chore(trace): stream log use _page and _limit

* fix: elvis warning

* fix: mod_trace test failed

* fix: http api meta rename _page/_limit to _page/_limit

* fix: clientid string not working

* fix: add emqx_mod_trace to module

* fix(trace): fixed by review suggestions
2021-11-11 14:54:40 +08:00
lafirest 1dd18aa07a
fix(emqx_st_statistics): change emqx_st_statistics implementation fro… (#6115)
* fix(emqx_st_statistics): change emqx_st_statistics implementation from plugin to module
2021-11-11 10:16:06 +08:00
lafirest fae815b35c
Feat/slow topic api (#6101)
* feat(emqx_st_statistics): add api
2021-11-10 11:08:06 +08:00
JianBo He 05b16c601b chore(presence): more fields for disconnected event 2021-07-07 18:36:09 +08:00
tigercl 439c0d6fa8
fix(topic metrics): export mandatory functions to support cluster calls (#4870) 2021-05-27 13:35:02 +08:00
Zaiming Shi 8443aa5e21 chore(typo): sepecial -> special 2021-05-24 10:45:56 +02:00
JianBo He 82330ffa00 feat(delayed): record the delayed table size by emqx_stats
There are three indictors about delayed module:
- 'messages.delayed': shows the number of delayed msg received
- 'emqx_delayed_count': shows the delayed table size now
- 'emqx_delayed_max': shows the maximum size that the delayed table has reached
2021-05-12 22:16:14 +08:00
Zaiming Shi 6354e75626 chore: update copyrights 2021-04-23 20:43:00 +02:00
JianBo He d6bbfdcd51 test(modules): test starting by default 2021-04-13 09:57:33 +08:00
William Yang b8c7c9c60b fix(cluster-webui): export emqx_modules_api:list_modules/1
Fix http.500 error when loading page:http://127.0.0.1:18083/#/modules on
a emqx cluster,
2021-03-24 21:37:11 +01:00
z8674558 1504164933 chore(src): fix dialyzer warnings (match values) 2021-03-03 20:06:31 +09:00
zhanghongtong 8e5cfaf0cc chore(emqx_modules): delete plugin flag for emqx_modules 2021-03-02 18:47:09 +08:00
zhanghongtong b53bdd1450 chore(emqx_management): remove emqx_modules dependency on emqx_management 2021-03-02 09:35:47 +08:00
zhanghongtong 28653bb457 chore(emqx_management): format code 2021-03-02 09:35:47 +08:00
zhanghongtong 24d954282d chore(emqx_management): update test case 2021-03-02 09:35:47 +08:00
zhanghongtong 4e9330a37e chore(emqx_management): merge enterprise to opensource 2021-03-02 09:35:47 +08:00
Zaiming Shi aed58a14ee chore(build): rename lib-opensource to lib-ce for shorter name 2021-02-19 11:54:45 +01:00