### What changes were proposed in this pull request? The new added `deadlocks` metrics in `ThreadStatesGaugeSet` is a Set<String>, which is invalid. So here add a filter at the `addGauge` extrance. ### Why are the changes needed? Ditto ### Does this PR introduce _any_ user-facing change? Remove the unused metrics. BTW the template use `metrics_jvm_thread_deadlock_count_Value` ### How was this patch tested? Manual test Closes #1981 from onebox-li/fix-1037. Authored-by: onebox-li <lyh-36@163.com> Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||