Merge pull request #7945 from DDDHuang/dash_m
feat: dashboard monitor missed topics field
This commit is contained in:
commit
0c88457b4e
|
@ -244,7 +244,7 @@ merge_cluster_sampler_map(M1, M2) ->
|
||||||
Fun =
|
Fun =
|
||||||
fun
|
fun
|
||||||
(topics, Map) ->
|
(topics, Map) ->
|
||||||
Map;
|
Map#{topics => maps:get(topics, M1)};
|
||||||
(Key, Map) ->
|
(Key, Map) ->
|
||||||
Map#{Key => maps:get(Key, M1) + maps:get(Key, M2)}
|
Map#{Key => maps:get(Key, M1) + maps:get(Key, M2)}
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue