Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CELEBORN-1037] Incorrect output for metrics of Prometheus
### 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 <[email protected]> Signed-off-by: mingji <[email protected]>
- Loading branch information