Commit Graph

5552 Commits

Author SHA1 Message Date
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
JianBo He
e7252eee81 fix(metric): incr the messages.retained counter 2021-05-12 22:16:14 +08:00
JianBo He
1ba8d71e7e fix(metrics): set the retained/delayed metrics to counter type
The metrics for messages.* shows the number of times such messages are
received, and it should be a counter rather than a gauge type.
2021-05-12 22:16:14 +08:00
wwhai
09fb1461b7
fix(mgmt): fix diylazer warning for function return (#4786) 2021-05-12 22:13:26 +08:00
Rory-Z
0bf76adfd5 chore(CI): fix app version check 2021-05-12 10:34:54 +08:00
Zaiming Shi
ded494f544 fix(emqx_rule_engine): add appup 2021-05-11 14:25:46 +02:00
Zaiming Shi
873459a07f fix(emqx_ctl): ensure env variables are exported 2021-05-11 14:25:46 +02:00
zhanghongtong
bb490e7d6e chore(CI): add apps version check 2021-05-11 09:07:48 +08:00
Zaiming Shi
7afd4940e7 chore(config): do not expose manual rpc peer port config
when using `manual`, all nodes in the cluster should agree
to the same port number, so there is no need to make peer
port number for clients.
2021-05-10 14:26:14 +02:00
z8674558
50f4e0617b fix(docker-entrypoint): do not mv loaded_plugins file, copy it by cat 2021-05-10 20:54:33 +09:00
Zaiming Shi
3aba50605a chore(nodetool): ensure correct lib dirs
Prioro to this change, ekka lib dir was added by inspecting
the ekka lib version in persisted RELEASES file.
However, this file may not be the true version if a hot
upgrade failed in the middle.
In this fix, it reads the per-version emqx.rel file
content to load lib paths.
2021-05-10 12:04:22 +02:00
Zaiming Shi
1cabd140c5 fix(logging): add line-break after each JSON log 2021-05-10 12:03:01 +02:00
zhanghongtong
29bbc0802b chore(CI): use cache for mac 2021-05-09 10:58:00 +08:00
Turtle
a07fece436 chore(slim): fix build silm macosx fail 2021-05-08 21:32:16 +08:00
Turtle
80ef076cee feat(rule_engine): rule sql add null function 2021-05-08 17:15:07 +08:00
Turtle
c5aeeb3b40 fix(import): fix import bridge mqtt test cases 2021-05-08 15:28:26 +08:00
zhanghongtong
934d3c405d chore(CI): update build workflows 2021-05-08 13:57:02 +08:00
Zaiming Shi
1ddcffa32d build: zip for macos
previsouly zip was built before pkg (as makefile dependency)
since pkg's only depend on rebar3 release tarball (not .zip)
makefile was updated but forgot to update the pkg build for macos
2021-05-07 22:40:25 +02:00
Zaiming Shi
18cd7e7af5 fix(emqx_logger_jsonfmt): corner test case 2021-05-07 21:25:10 +02:00
Zaiming Shi
05324dfd7c build(ci): download old versions 2021-05-07 21:25:10 +02:00
zhanghongtong
6595d53962 build(relup): update build script for support relup 2021-05-07 21:25:10 +02:00
Zaiming Shi
958143f7a9 fix(frontend): dashboard 4.3.1 for a security patch 2021-05-07 18:44:39 +02:00
Zaiming Shi
30c214d64b build: fix relup hook point name 2021-05-07 14:04:15 +02:00
z8674558
3c4e95a246 chore(rebar.config): cuttlefish 3.3.3 -> 3.3.4 2021-05-07 10:41:03 +00:00
Zaiming Shi
396cae26fe build: fix build order of release and relup 2021-05-07 17:58:32 +08:00
zhanghongtong
88df1713b1 chore(CI): fix relup tests error 2021-05-07 10:18:14 +08:00
Zaiming Shi
f68a89c9ba fix(auth-http): support content-type header env variable override 2021-05-07 10:14:19 +08:00
Zaiming Shi
05c5378265 feat(http_lib): add normalise_headers API 2021-05-07 10:14:19 +08:00
zhanghongtong
323c1a4896 chore(CI): fix relup tests error 2021-05-07 09:32:52 +08:00
Zaiming Shi
80a93c225f build: prepare for 4.3.0 2021-05-06 21:05:39 +02:00
Zaiming Shi
cd53568f36 build: pin otp 23.2.7.2-emqx-2 2021-05-06 21:05:39 +02:00
k32
7cd31028cb fix(dialyzer): Omit value is unmatched warning 2021-05-06 23:28:12 +08:00
Zaiming Shi
c81cd8550d perf(trie): do not call ets:info/2 to check if table is empty
emqx_trie table is a ordered_set, with write_concurrency set to
true, the counter is not centrialsed, the ets:info/2 call to
check size == 0 is very expensive
2021-05-06 23:27:29 +08:00
Zaiming Shi
cfec4c9690 fix(logger): fix json formatter
crash when invalid string as json key.
2021-05-06 15:12:56 +02:00
k32
eb0488828b fix(node_dump): Remove bashisms from node_dump script 2021-05-06 14:19:09 +02:00
k32
cb3dce598c feat(node_dump): Add an option to set max log file age 2021-05-06 14:19:09 +02:00
k32
5302459a36 fix(node_dump): Please shellcheck 2021-05-06 14:19:09 +02:00
k32
f3083601ff fix(node_dump): Avoid collecting old log files 2021-05-06 14:19:09 +02:00
k32
1db8483bb3 feat(node_dump): Hide `secret' configuration keys
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2021-05-06 14:19:09 +02:00
k32
e6c85dfb04 fix(node_dump): Attempt to censor passwords 2021-05-06 14:19:09 +02:00
k32
d913a7d20d feat(node_dump): Create a node dump script 2021-05-06 14:19:09 +02:00
Turtle
9dc1e162fa fix(sn): fix clean_session=false willmsgs not sent 2021-05-06 19:15:49 +08:00
Zaiming Shi
94c8add314 chore(config): default log.single_line=true 2021-05-06 11:03:02 +02:00
Zaiming Shi
4cff5c4dac chore: fix config doc 2021-05-06 11:03:02 +02:00
Zaiming Shi
b8e271a588 chore: add more info in test log 2021-05-06 11:03:02 +02:00
Zaiming Shi
81da075b9b chore(config): rename log.use_json_formatter to log.formatter 2021-05-06 11:03:02 +02:00
Zaiming Shi
6b0487d69d feat(logger): merge metadata to log data 2021-05-06 11:03:02 +02:00
Zaiming Shi
79181072e2 feat(logger): add formatter emqx_logger_jsonfmt 2021-05-06 11:03:02 +02:00
Zaiming Shi
c4f070c9c6 feat: make log depth configurable 2021-05-06 11:03:02 +02:00
Zaiming Shi
92d3e16d43 perf(router): receive-mark optimise for short-lived transaction process 2021-05-05 11:00:00 +02:00