Commit Graph

38 Commits

Author SHA1 Message Date
Georgy Sychev c29eb8a409 feat(testing): Multinode testing helper 2022-06-09 13:33:01 +04:00
Zhongwen Deng 5e92ef54c5 fix: ct failed 2022-06-07 20:13:57 +08:00
Zhongwen Deng d61b44ef97 fix: ct failed again 2022-05-31 19:20:27 +08:00
Thales Macedo Garitezi 1892e67547
fix: fix flaky test 2022-05-27 11:05:25 -03:00
Shawn 55fce33477 fix: add telemetry testcases in all/0 2022-05-25 21:55:28 +08:00
Shawn a157539710 refactor(rule): rename http_bridge -> webhook 2022-05-25 18:56:12 +08:00
Shawn 71de9616d3 refactor(rule): rename outputs -> actions 2022-05-25 17:02:37 +08: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
Thales Macedo Garitezi e0a6ebbd56
fix(telemetry): use the live connection count instead of max conns 2022-05-13 09:02:15 -03:00
Thales Macedo Garitezi 47ed9cbc76
fix(telemetry): count bridges referenced in `from` rule clauses 2022-05-11 15:15:17 -03: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
Shawn 0c8a7e751f fix(test): clear emqx_cluster_rpc mnesia table at the end of the suite 2022-04-29 18:53:01 +08:00
Shawn ef0e6d7fd8 fix(test): ensure the test node removed from the ekka cluster 2022-04-29 16:43:51 +08:00
Shawn 1393ab677d fix(test): race condition in emqx_telemetry_SUITE 2022-04-29 16:43:51 +08:00
Thales Macedo Garitezi 727bc712e6
fix(telemetry): avoid hanging emqx_modules_app init with request 2022-04-25 11:54:01 -03: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
Thales Macedo Garitezi ec1ff14759
fix(test): fix flaky test node setup 2022-04-20 05:05:48 -03: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 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
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 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
Thales Macedo Garitezi d312bc0f28
feat: add advanced mqtt features to telemetry 2022-03-23 14:05:04 -03:00
Thales Macedo Garitezi 7e3b9bb356
fix(test): use a real copy of BUILD_INFO for testing
On macOS, apparently symlinks can cause problems when rebar3 tries to
copy files to the `_build` directory.  So we now use a copy of
`rel/BUILD_INFO`.  Unfortunately, this has the downside of this copy
possibly going stale over time.
2022-03-23 13:29:11 -03:00
Thales Macedo Garitezi fbfbaa8a9a
test: add more tests to telemetry 2022-03-22 15:28:42 -03:00
Thales Macedo Garitezi 35a523230f
feat: add mqtt runtime insights to telemetry data 2022-03-22 15:28:19 -03:00
Thales Macedo Garitezi 4d3157743e
style: format `emqx_modules` 2022-03-22 09:31:55 -03:00
Thales Macedo Garitezi e8682a1107
feat: add build info and vm specs to telemetry 2022-03-21 14:24:40 -03:00
k32 8570df075c refactor(emqx_telemetry): Decorate remote procedure calls 2022-01-13 00:35:49 +01:00
k32 a9673d7d2d fix(emqx_telemetry): Decorate RPC calls 2022-01-10 18:43:44 +01:00
Zaiming (Stone) Shi 63167cea70 chore: update copyright 2022-01-05 20:55:00 +01:00
k32 9965d6e028 chore(mria): ekka_mnesia:create_table -> mria:create_table 2021-10-18 22:04:05 +02:00
Tobias Lindahl aa19c2a908 chore: Remove emqx_ct_helpers as dependency 2021-10-15 10:40:57 +02:00
Turtle 76e3dd1905 chore(modules): Get the status by conf 2021-07-29 16:57:14 +08:00
Turtle cdc8000493 chore(modules): presence/delayed/telemetry/rewrite/topic_metrics independent conf 2021-07-29 16:57:14 +08:00