Commit Graph

4045 Commits

Author SHA1 Message Date
Feng Lee
46ca3f2f82 Add metrics for session's lifecircle
- session.created
- session.resumed
- session.takeovered
- session.discarded
- session.terminated
2019-12-30 09:29:41 +08:00
Feng Lee
12c6d5fe2c Add more metrics for client's lifecircle
- client.connect
- client.connack
- client.connected
- client.authenticate
- client.check_acl
- client.subscribe
- client.unsubscribe
- client.disconnected
2019-12-30 09:28:55 +08:00
Feng Lee
9a3d16c654 Add 'emqx_packet:info/2' function and test cases 2019-12-30 09:28:38 +08:00
Feng Lee
b7ca3905a6 Breaking Change: Add new hooks for client and session lifecircle (#3138) 2019-12-27 16:31:06 +08:00
JianBo He
d000284a40 Merge branch 'caps' into develop 2019-12-21 16:04:41 +08:00
turtleDeng
b612674ffa
Update emqx_mqtt_caps.erl 2019-12-21 14:16:37 +08:00
JianBo He
b3eed9123f Fix typo 2019-12-21 10:39:02 +08:00
Feng Lee
578355442b Add more metrics and improve the 'channel', 'session' modules (#3128) 2019-12-20 21:47:32 +08:00
张奇怪
2cf3af12ef Update test cases for emqx_connection (#3116) 2019-12-20 19:15:45 +08:00
tigercl
116c593178 Fix returned value of plugin reloading (#3126) 2019-12-20 16:34:07 +08:00
turtled
9786dd5305 Support configuration log line 2019-12-20 15:40:58 +08:00
JianBo He
9b9df46718
Add sockport to ClientInfo (#3122) 2019-12-19 13:34:24 +08:00
zhouzb
70ae3c75a0 Remove emqx_time module 2019-12-17 09:38:33 +08:00
turtled
eea5e14b0c Fix event/message out of order 2019-12-16 22:12:56 +08:00
tigercl
a47a8f8010
Merge pull request #3111 from emqx/issue#3109
Fix issue#3109 - remove the 'sessions.persistent.count', 'sessions.persistent.max' stats
2019-12-16 16:46:29 +08:00
Feng Lee
814f103e34 Fix issue#3109 - remove the 'sessions.persistent.count', 'sessions.persistent.max' stats 2019-12-16 16:41:42 +08:00
tigercl
6cd189fe88
Merge pull request #3110 from emqx/rm-stop-reason
Remove the 'stop_reason' field
2019-12-16 16:19:36 +08:00
Feng Lee
721dd5d8a2 Update the test cases of emqx_ws_connection module 2019-12-16 12:46:48 +08:00
Feng Lee
1f25f4439f Remove the 'stop_reason' field 2019-12-16 12:45:46 +08:00
Feng Lee
635c3f75fe Improve the 'emqx_connection' module for CT 2019-12-16 11:25:47 +08:00
Feng Lee
f46cfbaa62 Fix the 'badmatch' error 2019-12-16 11:25:47 +08:00
Feng Lee
27fec04ec9 Depends on 'emqx/cowboy' v2.8.1 2019-12-16 11:25:47 +08:00
Feng Lee
ad9e0fc311 Support the 'clean_start = false' websocket connection 2019-12-16 11:25:47 +08:00
Feng Lee
2ef52828bc Improve 'emqx_connection' module and update test cases 2019-12-16 11:25:47 +08:00
zhanghongtong
03681b6a3b Update config file version 2019-12-13 10:54:29 +00:00
zhouzb
78fe1166b9 Fix test case 2019-12-13 18:36:40 +08:00
zhanghongtong
496bd7ed56 Add more test cases 2019-12-13 18:15:38 +08:00
zhouzb
7ac60678de Add test cases for emqx_cm and emqx_router_helper modules 2019-12-13 18:09:48 +08:00
Feng Lee
c5c99b7c4e Improve 'emqx_ws_connection' module and add more test cases 2019-12-13 18:07:59 +08:00
tigercl
2a3baed7e0
Merge pull request #3103 from emqx/ws-conn-ct
Rename 'channel.gc.cnt' to 'channel.gc'
2019-12-13 18:04:54 +08:00
Feng Lee
d193b5fa0d Rename 'channel.gc.cnt' to 'channel.gc' 2019-12-11 20:39:51 +08:00
Feng Lee
d1c3dec730 Optimize emqx_session and add more test cases 2019-12-11 13:44:52 +08:00
Feng Lee
fff737d32a Add emqx_limiter_SUITE 2019-12-11 13:40:44 +08:00
turtled
73e666ac8c Fix test cases fail 2019-12-11 13:40:31 +08:00
zhouzb
e30c0ac31d Change log level for existing metric 2019-12-10 17:20:21 +08:00
zhouzb
ec2f758c9f Use erlang:system_time/1 2019-12-10 09:25:39 +08:00
JianBo He
08e234f61e Fix typo 2019-12-10 09:24:33 +08:00
Feng Lee
0f9f1258b6 Improve the emqx_message module and add more test cases
- Add 'emqx_message:clean_dup/1' function
- Clean dup flag before publishing a message
- Add more test cases for emqx_message module
2019-12-10 09:22:38 +08:00
Feng Lee
cd94ba71b4 Remove the 'try' ... 'catch' 2019-12-10 09:01:55 +08:00
Feng Lee
0c377c67cd Use 'erlang:system_time' to replace 'os:timestamp' (#3088)
Use 'erlang:system_time/1' to replace 'os:timestamp/0'
2019-12-09 16:27:25 +08:00
turtled
d58dbf2dd2 revert emqx.conf 2019-12-09 12:02:12 +08:00
turtled
c7f1df0d0c Fix typo 2019-12-07 19:43:18 +08:00
zhouzb
dace882667 Fix will message 2019-12-07 17:06:22 +08:00
Feng Lee
dc3e7dc21c Ignore the expired messages 2019-12-07 16:51:20 +08:00
Feng Lee
bbcd2bffc5 Improve the session module (#3082)
Improve the session module
2019-12-07 15:54:02 +08:00
zhanghongtong
81b1c5872c Fix error foe test/emqx_mod_presence_SUITE 2019-12-07 14:55:34 +08:00
张奇怪
7895432b7d Add more test cases (#3080) 2019-12-07 13:38:56 +08:00
zhouzb
32500685a1 Export emqx_cm:kick_session/2 2019-12-07 13:35:55 +08:00
zhouzb
5b949fda2c Add emqx_cm:kick_session/1 2019-12-07 13:31:33 +08:00
Feng Lee
9c3273a2c6 Improve the process of handling MQTT control packets (#3079) 2019-12-06 19:51:06 +08:00