zhongwencool
b343653769
chore: support list(tuple()) for schema_with_examples/3
2023-11-17 08:23:51 +08:00
zhongwencool
0c2610fa61
feat: support prometheus.enable_basic_auth
2023-11-17 08:23:51 +08:00
zhongwencool
c376a5db29
refactor: prometheus config
2023-11-17 08:23:51 +08:00
Zaiming (Stone) Shi
06e440260f
refactor(schema): add args to map alias
2023-11-12 11:29:33 +01:00
Zaiming (Stone) Shi
46fffa401e
refactor(emqx_prometheus_schema): use typerefl alias
2023-11-10 08:45:20 +01:00
Andrew Mayorov
8e4585d64f
chore: move template modules to `emqx_utils`
...
Even though most of the time these modules will be used by
connectors, there are exceptions (namely, `emqx_rule_engine`).
Besides, they are general enough to land there, more so given
that `emqx_placeholder` is already there.
2023-11-02 17:11:12 +07:00
Andrew Mayorov
dfb7faf6a8
fix(tpl): ensure rough backward compat in `emqx_prometheus`
...
But also emit warning when job name template renders with errors.
2023-11-02 17:11:10 +07:00
Andrew Mayorov
e1bca5844f
feat(tpl): use `emqx_connector_template` in `emqx_prometheus` app
2023-11-02 17:11:10 +07:00
zhongwencool
2322b27542
Merge pull request #11497 from zhongwencool/prometheus-metrics
...
Prometheus metrics
2023-08-24 12:06:32 +08:00
zhongwencool
84dd3b83bb
fix: hocon converter not working when make_serializable is true(check_plain)
2023-08-24 06:46:47 +08:00
zhongwencool
6bb15541c7
feat: rename olp metrics to overload_protection metrics
2023-08-23 15:25:54 +08:00
zhongwencool
b9a97923c4
feat: add some authz/connection missing metrics
2023-08-23 14:47:53 +08:00
zhongwencool
141676185d
feat: add authentication metrics to prometheus
2023-08-23 14:15:16 +08:00
zhongwencool
4928c69758
feat: add authorization metrics to prometheus
2023-08-23 14:11:59 +08:00
zhongwencool
df9f8da178
feat: add overload_protection metrics to prometheus
2023-08-23 14:07:37 +08:00
zhongwencool
188a81913e
test: add prometheus api test
2023-08-23 11:23:43 +08:00
zhongwencool
ae10415fc3
feat: disabled the Erlang VM Prometheus exporter by default to improve performance and security
2023-08-23 09:03:22 +08:00
zhongwencool
3933227636
feat: support opentelemetry metrics
2023-08-09 20:23:40 +08:00
zhongwencool
1b5d55cdbb
fix: delete bad link in emqx_prometheus
2023-07-10 16:48:13 +08:00
zhongwencool
0632d629cb
fix: bad prometheus schema for headers
2023-07-10 16:48:13 +08:00
Zaiming (Stone) Shi
90c35c3ff8
chore(prometheus): change default vaue enum the first symbol
2023-06-27 14:23:18 +02:00
Zaiming (Stone) Shi
92ed7d7639
docs: move some prometheus docs from schema desc to code comments
2023-06-27 14:23:18 +02:00
Zaiming (Stone) Shi
41de679557
ci: run example config check in ci
2023-06-27 14:23:18 +02:00
Zaiming (Stone) Shi
e0d05a02ff
refactor: refine examples
...
Also turns off vm_dist_collector metrics collector by default
2023-06-27 14:23:18 +02:00
Stefan Strigler
2e9ac8f1ec
Merge pull request #10980 from sstrigler/EMQX-10189-mark-support-for-json-output-format-in-prometheus-stats-as-deprecated
...
Mark support for json output format in prometheus stats as deprecated
2023-06-09 09:00:34 +02:00
Stefan Strigler
f5e93b1b2b
docs(emqx_prometheus): leave remark about json being deprecated
2023-06-08 13:08:45 +02:00
JianBo He
f53e13b8b9
perf: update to our forked prometheus deps
...
it's based on v4.10.0 of upstream, and patched this PR:
https://github.com/emqx/prometheus.erl/pull/5
2023-06-08 14:29:54 +08:00
Thales Macedo Garitezi
75df622426
Merge pull request #10930 from thalesmg/max-int-timeout-v50
...
check maximum timeout values in schema (5.1)
2023-06-05 12:51:36 -03:00
Thales Macedo Garitezi
46393343e2
chore: use `timeout_duration` types for timer fields
...
Fixes https://emqx.atlassian.net/browse/EMQX-10020
2023-06-05 11:46:38 -03:00
Stefan Strigler
c9ef1ccacd
fix: headers is array not object
2023-06-02 10:24:33 +02:00
Kjell Winblad
ab8b8ccaad
docs: make sure there is a summary for all API endpoints
...
Many HTTP API endpoints did not have a summary when looking at the API
docs at "http://emqx_host_name:18083/api-docs ". This has been fixed by
making sure there is a summary corresponding to all endpoints.
Fixes:
https://emqx.atlassian.net/browse/EMQX-9767
2023-05-17 09:58:56 +02:00
Zhongwen Deng
4464a31fab
chore: remove *_collector for prometheus api's example
2023-04-20 18:01:27 +08:00
Ivan Dyachkov
dc78ecb41c
chore: merge upstream/master
2023-04-18 17:33:32 +02:00
ieQu1
282bfee8ff
feat(emqx): Add an API that returns the list of running nodes
2023-04-18 09:22:58 +02:00
Ivan Dyachkov
9fc8a498f8
chore: bump apps versions
2023-04-17 09:09:08 +02:00
Stefan Strigler
9c11bfce80
refactor: rename emqx_misc to emqx_utils
2023-04-14 13:41:27 +02:00
Zaiming (Stone) Shi
d07987288a
chore: add some example annotations for config importance level
2023-03-28 14:29:24 +02:00
ieQu1
e3595f2e79
chore(mria): Bump version to 0.4.0
2023-03-11 00:37:25 +01:00
Zaiming (Stone) Shi
9316690c29
fix(schema): binary string for default values
...
A lot of the string value fields had default value defined in
schema as list-string rather than binary-string.
This caused the generated schema dump (in JSON format)
to have raw_default field as an integer array.
2023-02-21 09:09:51 +01:00
Zhongwen Deng
82b2f9f245
chore: include emqx_management in emqx_prometheus/emqx_statsd
2023-02-16 11:37:00 +08:00
Zaiming (Stone) Shi
719e02cc96
fix(metrics): use the same data source for RAM usage info
2023-02-15 16:11:39 +01:00
Zhongwen Deng
53488b4377
fix: add push_gateway_server's validator
2023-02-10 17:52:16 +08:00
Erik Timan
784ec0c0a5
chore: bump VSN
2023-02-07 15:54:01 +01:00
Erik Timan
19c2288a4b
feat(emqx_prometheus): expose live_connections stats to prometheus
2023-02-07 15:42:55 +01:00
Zhongwen Deng
1194d07a07
refactor: update emqx_prometheus's headers from map() to list()
2023-01-12 12:48:26 +08:00
JianBo He
9f6df27759
chore: bump app.src vsn
2023-01-11 17:47:06 +08:00
JianBo He
b1292d6d4f
feat(prom): support configuring job_name for pushing mode
2023-01-11 17:31:58 +08:00
JianBo He
50b7ac6a22
feat(prom): support headers for pushing
2023-01-11 17:31:58 +08:00
Zaiming (Stone) Shi
dbc10c2eed
chore: update copyright year 2023
2023-01-02 09:22:27 +01:00
Zhongwen Deng
3233a40af3
chore: don't delete bpapi when 5.0.x
2022-10-26 21:58:51 +08:00
Zhongwen Deng
97124be63a
chore: add next_push_ms to emqx_prometheus:info/0
2022-10-26 21:32:19 +08:00
Zhongwen Deng
1757342e5b
chore: make dialyzer happy
2022-10-26 21:32:19 +08:00
Zhongwen Deng
e22f8ff2a8
refactor: sync emqx_prometheus via emqx_config_handler
2022-10-26 21:31:19 +08:00
Zhongwen Deng
4c5e64d5a3
feat: hibernate after send data to prometheus push_gateway
2022-10-25 12:27:25 +08:00
Zhongwen Deng
8578024637
chore: bump emqx_prometheus to 5.0.3
2022-10-25 11:21:16 +08:00
Zhongwen Deng
6710736243
feat: add prometheus collectors config
2022-10-25 09:41:58 +08:00
Zhongwen Deng
a3296078c3
chore: make sure swagger's tags always titlecase 2
2022-07-25 16:55:38 +08:00
Zhongwen Deng
99340e424e
chore: bump app.src version
2022-07-25 16:14:03 +08:00
Zhongwen Deng
dd59c850e0
chore: make sure swagger's tags always titlecase
2022-07-25 16:09:17 +08:00
ieQu1
a9ec193ef8
fix(prometheus): Disable authorization for metrics scraping endpoint
2022-06-23 00:31:53 +02:00
Zhongwen Deng
c7cc2e85b2
fix: add default&example for schema
2022-06-06 09:52:10 +08:00
Zaiming (Stone) Shi
02c3f87b31
style: reformat all remaining apps
2022-04-27 15:51:18 +02:00
DDDHuang
c842a51be3
fix: statsd & prometheus update config with restart & stop
2022-04-24 14:43:27 +08:00
DDDHuang
f47f5db521
fix: prometheus & statsd & topic rewrite docs
2022-04-19 10:55:37 +08:00
DDDHuang
b8e2c76382
fix: remove routes
2022-04-13 16:16:12 +08:00
ieQu1
fff6bffa0c
docs(schema): Add descriptions of the records
2022-03-29 14:09:32 +02:00
ieQu1
ee805f12a6
docs(schema): Add documentation for prometheus and logger
2022-03-23 13:52:54 +01:00
JimMoen
fab9ad91de
fix(schema): nullable => required
2022-03-04 10:06:36 +08:00
Zaiming (Stone) Shi
0528262705
chore(app.src): EMQ X -> EMQX in .app.src files
2022-02-16 17:51:45 +01:00
k32
e2e92e9a46
Merge pull request #7032 from k32/fix-prom-mria
...
fix(prometheus): Convert all non-numeric values to undefined
2022-02-16 15:48:06 +01:00
k32
0922f3bde3
fix(prometheus): Convert all non-numeric values to undefined
2022-02-16 14:45:30 +01:00
k32
c00f4ef83c
fix: Add replayq_len
...
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-02-15 20:02:46 +01:00
k32
6d49754988
feat(mria): Add prometheus metrics
2022-02-15 19:10:05 +01:00
DDDHuang
471e867bf3
fix(api): rename client info recv_msg.dropped.await_pubrel_timeout
2022-02-10 10:33:25 +08:00
Shawn
8207090419
fix: format the code to remove extra spaces
2022-02-09 18:46:49 +08:00
Shawn
2879001694
fix(metrics): rename metrics 'messages.dropped.expired' to 'messages.dropped.await_pubrel_timeout'
2022-02-08 17:14:59 +08:00
JimMoen
4e9e95c317
fix(swagger): spec remove needless description, fix property name
2022-01-25 15:52:13 +08:00
JimMoen
b950042cbf
refactor(api): prometheus swagger spec
2022-01-21 14:09:42 +08:00
k32
5a8f0db0e6
refactor(emqx_prometheus): Decorate remote procedure calls
2022-01-13 13:14:59 +01:00
zhongwencool
3bdfa183f3
Merge pull request #6666 from JimMoen/merge-5.0-beta.3-to-master
...
Merge 5.0 beta.3 to master
2022-01-06 18:20:30 +08:00
Zaiming (Stone) Shi
63167cea70
chore: update copyright
2022-01-05 20:55:00 +01:00
DDDHuang
5e48f55eef
fix(prometheus): restart error
2022-01-05 17:32:09 +08:00
DDDHuang
6c574c08b8
fix(config): update config by emqx_conf
2022-01-05 16:11:55 +08:00
DDDHuang
31aed3ea8e
fix(prometheus): stop app with error check & dialyzer
2022-01-05 15:59:17 +08:00
DDDHuang
72713cb85f
fix(config): restart app after config update in cluster
2022-01-05 15:06:18 +08:00
DDDHuang
20c5343f9b
fix(prometheus): dialyzer
2022-01-05 09:28:49 +08:00
DDDHuang
7bc59969eb
fix(prometheus): update config in cluster
2022-01-05 09:28:49 +08:00
Zaiming (Stone) Shi
9276a5bc3c
Merge pull request #6394 from zmstone/fix-typo-in-hook-point-name
...
fix: typo takeovered -> takenover
2021-12-07 21:06:30 +01:00
Zaiming (Stone) Shi
5440b431a1
fix: typo takeovered -> takenover
2021-12-07 16:06:23 +01:00
zhongwencool
f6c61189c4
chore(HTTP): prometheus or json format by accept header
2021-12-02 10:30:50 +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
73a4816d9c
fix(mria): Hook up mria to emqx_machine
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
JimMoen
deac54c847
chore(for editor): Add comments for Emacs major mode.
2021-09-16 15:43:30 +08:00
Zaiming Shi
ec13463f4a
refactor(schema): prepare for hocon schema doc generation
2021-09-03 11:02:31 +02:00
Zaiming Shi
5165fd6b30
refactor(schema): implement new hocon_schema callbacks
2021-08-30 09:56:03 +08:00
DDDHuang
78cf115a90
fix: swagger doc
2021-08-25 11:58:28 +08:00
Turtle
675d23111c
chore(swagger-schema): Delete the schema that is not reused
2021-08-24 23:01:51 +08:00
Turtle
a1ae4457df
feat(prometheus): add get prometheus_format stats api
2021-08-24 21:01:21 +08:00
Turtle
e0c05242a7
refactor(minirest-callback): refactor minirest callback function
2021-08-24 18:19:21 +08:00