JianBo He
08121e7df6
fix(mgmt): optimize the speed of query tail pages
...
In the previous, when you query the tail pages, all the front of rows
will be queried out and formatted. It greatly hurts the speed of query.
Currently, we only format the final result rows. i.e, the query for the
last page of data will be 10x faster.
2022-11-24 20:14:33 +01: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
Zaiming (Stone) Shi
93195f7b5b
chore: fix introduced_in for new proto APIs
2022-10-24 11:53:51 +02:00
Zaiming (Stone) Shi
e3240b52a8
chore: bump app versions
2022-10-24 11:48:17 +02:00
firest
bdaadda479
fix(banned): fix nit code
2022-10-18 13:39:48 +08:00
firest
3f1f244310
fix: fix bpapi versions
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
56816559d9
chore: bump emqx_modules && update CHANGES
2022-09-27 13:39:25 +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
JianBo He
641763d4d7
chore: update app.src
2022-09-08 16:14:42 +08:00
JianBo He
8521d8dac5
fix(time): replace os:system_time with erlang:system_time
...
Avoid the problem of inaccurate timers caused by mixing erlang:system_time/0-1
and os:system_time/0-1
2022-09-08 16:13:05 +08:00
ieQu1
d906715e0a
refactor(telemetry): Export transactions
2022-08-22 19:52:37 +02:00
Zhongwen Deng
bfa6acd350
chore: bump emqx_modules to 5.0.3
2022-08-17 23:59:59 +08:00
Zhongwen Deng
dd59c850e0
chore: make sure swagger's tags always titlecase
2022-07-25 16:09:17 +08:00
DDDHuang
8f18bdff15
fix(api): topic metrics check exist before create
2022-07-13 13:50:30 +08:00
Zaiming (Stone) Shi
b467e11b2e
fix(appup): fixed appup and version check scripts for 5.0
2022-06-20 22:20:31 +02:00
Zaiming (Stone) Shi
385566c1a0
docs: change descriptive info from 'community' to 'opensource'
2022-06-20 19:38:29 +02:00
Shawn
39b1b20506
feat: fix the hook priorities
2022-06-15 19:03:40 +08:00
Shawn
590a87a72b
fix: the delayed module is disbled after ./bin/emqx stop
2022-06-15 12:00:41 +08:00
Zhongwen Deng
c7cc2e85b2
fix: add default&example for schema
2022-06-06 09:52:10 +08:00
Zhongwen Deng
8aa60cc0a5
feat: generate a minimized emqx.conf
2022-05-31 19:20:27 +08:00
firest
1d0b479d8e
feat(rewrite): Support %u and %c placeholders in topic rewrite rules
...
fix #7438
2022-05-27 17:36:07 +08:00
Thales Macedo Garitezi
0333e6f860
Merge pull request #8027 from thalesmg/telemetry-uuid-file
...
feat(telemetry): save uuids to files
2022-05-24 16:55:09 -03: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
ieQu1
9474241ad9
fix(emqx_telemetry): Async start of telemetry module
2022-05-24 11:28:35 +02:00
Thales Macedo Garitezi
e0a6ebbd56
fix(telemetry): use the live connection count instead of max conns
2022-05-13 09:02:15 -03:00
Zhongwen Deng
f0cb72dda6
fix: telemetry can't get active plugins list
2022-05-12 11:18:44 +08: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
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
Thales Macedo Garitezi
f8f97d39d3
Merge pull request #7766 from thalesmg/bugfix-telemetry-bridge
...
fix: avoid crashing telemetry if bridge app is not ready
2022-04-26 09:03:29 -03: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
Zaiming (Stone) Shi
d6b3ecf75e
fix(telemetry): add verify_none ssl option
...
To stop the "Authenticity is not established by certificate path
validation", Reason: "Option {verify, verify_peer} and
cacertfile/cacerts is missing" warning message
2022-04-25 09:56:15 +02:00
Zaiming (Stone) Shi
c32fc33c1a
style: cosmetic fix for code style
2022-04-23 09:48:58 +02:00
DDDHuang
575d34cb69
Merge pull request #7724 from DDDHuang/tm_t_api_desc
...
fix: telemetry & topic metrics support i18n
2022-04-22 22:02:13 +08:00
JianBo He
92e010b652
Merge pull request #7727 from HJianBo/text-improve
...
chore: improve error message
2022-04-22 21:55:31 +08:00
JianBo He
239f159306
chore: improve error message
2022-04-22 17:08:18 +08:00
DDDHuang
de7c15dd19
fix: telemetry & topic metrics support i18n
2022-04-22 16:34:06 +08: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
lafirest
758c115556
Merge pull request #7671 from lafirest/feat/chinese_desc_api_delayed
...
feat(delayed): add i18n support
2022-04-20 17:42:30 +08:00
Thales Macedo Garitezi
f5dea51e24
Merge pull request #7614 from thalesmg/telemetry-cluster-uuid
...
feat(telemetry): add cluster uuid
2022-04-19 09:06:11 -03:00
firest
d02ac812e6
feat(delayed): add i18n support for delayed
2022-04-19 18:21:52 +08:00
DDDHuang
39d3d6a3d3
fix: auto sub & banned & topics rewrite, add required
2022-04-19 17:08:19 +08:00
DDDHuang
330e302a7c
fix: better atom name
2022-04-19 11:28:50 +08:00
DDDHuang
f47f5db521
fix: prometheus & statsd & topic rewrite docs
2022-04-19 10:55:37 +08:00
DDDHuang
82ce6ae9f9
fix: bad integer, bad qos; TODO: gateway api * 2
2022-04-16 16:37:10 +08:00
DDDHuang
e22d01d25f
fix: page & limit & pool_size pos_integer; some bad spelling
2022-04-16 16:37:10 +08: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
Dmitrii
20f66664d7
Merge pull request #7478 from ieQu1/doc-schema-7
...
docs(schema): Add descriptions of fields and records
2022-04-05 14:21:07 +02:00
ieQu1
8df76da9ac
chore(formatting): Fix formatting of modules, authz and authn
2022-04-05 11:01:53 +02:00
ieQu1
99b3f2f83e
docs(schema): Document missing records and fields
2022-04-04 23:58:43 +02: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
c0d2243e72
refactor(telemetry): move authn/authz info fns to their own apps
2022-04-01 09:27:52 -03:00
Thales Macedo Garitezi
b07b705621
feat(telemetry): add authn and authz info to telemetry data
2022-04-01 09:24:51 -03:00
Thales Macedo Garitezi
8513580f5a
fix: use api for setting advanced mqtt features in use
2022-04-01 09:23:41 -03:00
JianBo He
8500200e81
Merge remote-tracking branch 'ce/master' into fmt-gw
2022-04-01 09:52:12 +08: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
Ilya Averyanov
f34fce7c70
chore(emqx_modules): improve emqx_topic_metrics coverage
2022-03-31 14:29:42 +03:00
JianBo He
f2168f5b0d
style(modules): reformat emqx_modules appplication
2022-03-31 17:41:43 +08:00
Ilya Averyanov
a6031d6695
Merge pull request #7464 from savonarola/emqx_topic_metrics_api-cov
...
chore(emqx_modules): add emqx_topic_metrics_api tests
2022-03-31 11:27:58 +03:00
Ilya Averyanov
0728b1e3f4
chore(emqx_modules): add emqx_topic_metrics_api tests
2022-03-30 21:18:27 +03:00
ieQu1
d8e16b37da
docs(schema): Add documentation for the fields and records
2022-03-30 11:53:53 +02:00
Ilya Averyanov
f85fc98b39
fix(emqx_telemety): use total_memory memsup key
2022-03-29 11:56:50 +03:00
Thales Macedo Garitezi
7b6a71c117
Merge pull request #7369 from thalesmg/telemetry-revamp-part2
...
Telemetry revamp part2
2022-03-28 09:03:45 -03:00
Thales Macedo Garitezi
105ec5104a
fix: set own app environment and expose convenient api
...
... for accessing advanced mqtt features in use.
2022-03-25 10:12:50 -03:00
JianBo He
7f1082a0bb
chore: make xref happy
2022-03-25 11:20:18 +08:00
JianBo He
ec0c698914
refactor: remove event_messages mod
2022-03-25 10:20:11 +08:00
Thales Macedo Garitezi
d312bc0f28
feat: add advanced mqtt features to telemetry
2022-03-23 14:05:04 -03:00
ieQu1
6f4e7dc118
docs(schema): Formatting
2022-03-22 20:19:18 +01:00
Thales Macedo Garitezi
35a523230f
feat: add mqtt runtime insights to telemetry data
2022-03-22 15:28:19 -03:00
ieQu1
c6b0e8806f
docs(schema): Add descriptions to the schema
2022-03-22 19:09:20 +01:00
Thales Macedo Garitezi
4d3157743e
style: format `emqx_modules`
2022-03-22 09:31:55 -03:00
Thales Macedo Garitezi
7ec6947c02
fix: add http timeout to prevent hanging
2022-03-21 14:24:40 -03:00
Thales Macedo Garitezi
bf82b2d45c
style: fix typo
2022-03-21 14:24:40 -03:00
Thales Macedo Garitezi
e8682a1107
feat: add build info and vm specs to telemetry
2022-03-21 14:24:40 -03:00
Thales Macedo Garitezi
5b49f3eee8
chore: rm `active_modules`
2022-03-21 14:24:40 -03:00
Thales Macedo Garitezi
98f950881f
chore: drop `mnesia(boot)`, create tables on start up
2022-03-21 14:24:40 -03:00
lafirest
d231b2222e
Merge pull request #7328 from lafirest/fix/delayed_lookup
...
fix(delayed): make it possible to lookup/delete other node's delayed …
2022-03-18 00:53:53 +08:00
firest
3fc4236565
fix(delayed): make it possible to lookup/delete other node's delayed message
2022-03-17 14:36:55 +08:00
firest
43a935286a
fix(delayed): cancel the publish timer when terminate
2022-03-16 17:51:29 +08:00
lafirest
1a8288de75
fix(delayed): fix code style error
2022-03-11 11:32:25 +08:00
lafirest
eeb92dae23
fix(delayed): fix that the query is not a cluster query
2022-03-11 10:54:11 +08:00
lafirest
2b2104851a
fix(rewrite): fix config update maybe not work
2022-03-10 16:31:44 +08:00
Zhongwen Deng
512a5c3b8e
fix: elvis warning
2022-03-08 14:50:10 +08:00
Zhongwen Deng
1244391cb7
fix: alarm crash when safe_publish not ready. Filter out unnecessary APIs
2022-03-08 14:14:54 +08:00
firest
df2da949f1
fix(emqx_rewrite): fix config update not work in cluster
2022-03-01 23:11:21 +08:00
lafirest
24cba8efa1
fix(emqx_event_message): fix config update not work in cluster
2022-03-01 15:08:21 +08:00
JimMoen
d82a5544da
fix: topic_metrics example
2022-02-28 11:38:18 +08:00
DDDHuang
0e3310f1cf
fix: remove bindings params url decode (url decode by minirest)
2022-02-28 11:13:23 +08:00
zhongwencool
13a0eff678
Merge pull request #7125 from zhongwencool/schema-json
...
feat: generate hot config's schema.json and remove nullable option.
2022-02-25 17:18:20 +08:00