Description
Currently ale uses deprecated functions to report stats, which can be noticed by looking at the deprecated ets ns_server_system_stats:
per_node_ets_tables(, ns_server_system_stats) =
|
...
|
{{hg,{'sink-disk_error',compression_time},5000},1}
|
{{avg_5m,"ns_memcached-test",long_calls_rate},0.0}
|
{{h,{'sink-disk_error',write_time},-191374,50},2}
|
{{hg,{'sink-disk_error',rotation_time},70000},1}
|
...
|
We need to migrate them to new stats functions in ns_server_stats, so those ale stats can be reported to prometheus.