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
This commit is contained in:
JianBo He 2023-06-05 15:06:56 +08:00
parent 6fe99be367
commit f53e13b8b9
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
{deps, [
{emqx, {path, "../emqx"}},
{emqx_utils, {path, "../emqx_utils"}},
{prometheus, {git, "https://github.com/deadtrickster/prometheus.erl", {tag, "v4.8.1"}}}
{prometheus, {git, "https://github.com/emqx/prometheus.erl", {branch, "enhance-sample-perf"}}}
]}.
{edoc_opts, [{preprocess, true}]}.

View File

@ -170,4 +170,7 @@ validate_push_gateway_server(Url) ->
%% for CI test, CI don't load the whole emqx_conf_schema.
translation(Name) ->
%% translate 'vm_dist_collector', 'mnesia_collector', 'vm_statistics_collector',
%% 'vm_system_info_collector', 'vm_memory_collector', 'vm_msacc_collector'
%% to prometheus envrionments
emqx_conf_schema:translation(Name).