Commit Graph

49 Commits

Author SHA1 Message Date
ieQu1 e3595f2e79 chore(mria): Bump version to 0.4.0 2023-03-11 00:37:25 +01:00
Zaiming (Stone) Shi dbc10c2eed chore: update copyright year 2023 2023-01-02 09:22:27 +01:00
ieQu1 d906715e0a refactor(telemetry): Export transactions 2022-08-22 19:52:37 +02:00
Zaiming (Stone) Shi 385566c1a0 docs: change descriptive info from 'community' to 'opensource' 2022-06-20 19:38:29 +02: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
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
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
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 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 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
Ilya Averyanov f85fc98b39 fix(emqx_telemety): use total_memory memsup key 2022-03-29 11:56:50 +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 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 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
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
tigercl 41694b7b34
Merge pull request #6526 from emqx/release-5.0-beta.3
Sync 5.0-beta.3 fixes into master
2021-12-24 13:49:13 +08:00
JimMoen 99a5f14301 fix(telemetry): use required fields, rolling distro use PRETTY_NAME 2021-12-21 10:44:54 +08:00
Spycsh ca2660d609 chore: refactor ?SLOG 2021-12-18 00:17:45 +01:00
firest d0950b9b9d fix(emqx_telemetry): add default value to get_value 2021-10-23 00:24:07 +08:00
zhongwencool d784e63b9f
emqx_conf (#5939)
* feat(emqx_conf): move conf manager for emqx_machine to emqx_conf

* chore(emqx_conf): change emqx:get_config/2 to emqx_conf:get/2

* fix: common test failed

* fix: badmatch by typo wrong key

* fix(emqx_conf): get the wrong core nodes

* fix(emqx_conf): get core node's tnx_id not latest tnx_id

* fix: add ro_transation when copy conf file

* fix: delete debug info

* fix: change ekka_rlog to mria_rlog

* fix: remove cluster_rpc from emqx_machine.

* fix: don't call ekka:start/0 explicitly

* fix: ekka should be start in emqx_machine
2021-10-21 18:08:51 +08:00
k32 9fdd5e6a7e
fix(emqx_machine): Fix start/stop callbacks (#5969)
* fix(emqx_machine): Fix start/stop callbacks

* chore(ekka): Bump version to 0.11.1

* fix(router): Wait for the tables

* fix(emqx_cluster_rpc): Stop cluster RPC when joining a cluster

* fix(emqx_app): Fix a deadlock when joining the cluster

* fix(emqx_telemetry): Wait for mnesia tables

* test(ct_helper): Start ekka before emqx
2021-10-21 14:49:21 +08:00
k32 b3a8753219 fix(mria): Replace mnesia calls with mria 2021-10-19 12:24:35 +02:00
k32 326923850c chore(mria): Get rid of copy_mnesia callback 2021-10-18 22:04:05 +02:00
k32 9965d6e028 chore(mria): ekka_mnesia:create_table -> mria:create_table 2021-10-18 22:04:05 +02:00
k32 ff48322e0c chore(mria): ekka_mnesia:running_nodes -> mria:running_nodes 2021-10-18 22:04:05 +02:00
k32 b515a45a4f chore(mria): Rename module: ekka_mnesia -> mria 2021-10-18 22:04:05 +02:00
k32 9c74fa42a5 chore(rlog): Use the new method of creating shards 2021-08-21 17:47:53 +02:00
Shawn e8e95d39ef
refactor(config): move emqx_config:get/get_raw to emqx:get_config/get_raw_config (#5517) 2021-08-18 14:52:57 +08: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