mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 04:56:53 +00:00
Update custom Gauges to Micrometer MeterBinders
This commit is contained in:
1 parent
10dfa18e81
commit
ab64828661
5 files changed
+34
-31
No files matched your search
+1
-1
@@ -75,7 +75,7 @@ class OperatingSystemMemoryGaugeTest {
|
||||
@ParameterizedTest
|
||||
@MethodSource
|
||||
void testGetValue(final String metricName, final long expectedValue) {
|
||||
assertEquals(expectedValue, new OperatingSystemMemoryGauge(metricName).getValue(MEMINFO.lines()));
|
||||
assertEquals(expectedValue, OperatingSystemMemoryGauge.getValue(MEMINFO.lines(), metricName));
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
Reference in new issue
Block a user