JianBo He
52e02b251e
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-14 05:41:00 +09:00
wwhai
72e9453293
fix(mgmt): fix diylazer warning for function return ( #4786 )
2021-05-14 05:41:00 +09:00
Rory-Z
0788aa972f
chore(CI): fix app version check
2021-05-14 05:41:00 +09:00
Zaiming Shi
4577f6653c
fix(emqx_rule_engine): add appup
2021-05-14 05:41:00 +09:00
Zaiming Shi
2ab9be3e2b
fix(emqx_ctl): ensure env variables are exported
2021-05-14 05:41:00 +09:00
zhanghongtong
fb643fc53f
chore(CI): add apps version check
2021-05-14 05:41:00 +09:00
Zaiming Shi
96639b8d9e
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-14 05:41:00 +09:00
z8674558
efe0c2fe1a
fix(docker-entrypoint): do not mv loaded_plugins file, copy it by cat
2021-05-14 05:41:00 +09:00
Zaiming Shi
cb5a21ceff
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-14 05:41:00 +09:00
Zaiming Shi
3a2e177be5
fix(logging): add line-break after each JSON log
2021-05-14 05:41:00 +09:00
zhanghongtong
0abdde0bad
chore(CI): use cache for mac
2021-05-14 05:41:00 +09:00
Turtle
7ef173f2c2
chore(slim): fix build silm macosx fail
2021-05-14 05:41:00 +09:00
Turtle
a58357cfe3
feat(rule_engine): rule sql add null function
2021-05-14 05:41:00 +09:00
Turtle
cc6f43aea7
fix(import): fix import bridge mqtt test cases
2021-05-14 05:41:00 +09:00
zhanghongtong
b288710429
chore(CI): update build workflows
2021-05-14 05:41:00 +09:00
Zaiming Shi
7c29884ed0
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-14 05:41:00 +09:00
Zaiming (Stone) Shi
3a9b15b8d5
Merge pull request #4727 from emqx/resolve-conflict-master-to-v5.0
...
Auto-pull-request-on-2021-05-01
2021-05-07 22:59:23 +02:00
Zaiming Shi
814588d1c8
Merge remote-tracking branch 'origin/master' into resolve-conflict-master-to-v5.0
2021-05-07 22:24:38 +02:00
Zaiming Shi
ec69e51386
build: pin cuttlefish v4.0.0 (hocon)
2021-05-07 21:46:04 +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
Zaiming (Stone) Shi
0d9a9fc966
Merge branch 'dev/v5.0' into resolve-conflict-master-to-v5.0
2021-05-07 08:43:26 +02: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