More work on Linux network metrics.

This commit is contained in:
Mark Nellemann 2021-05-28 08:49:42 +02:00
parent 1e3f7e9345
commit ea4cbf3f6a
3 changed files with 6 additions and 4 deletions

View File

@ -42,7 +42,12 @@ subprojects {
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect {
zipTree(it).matching {
exclude 'org/pf4j/**'
exclude 'org/slf4j/**'
exclude 'sysmon/shared/**'
exclude 'META-INF/AL2.0'
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/LICENSE'
}
}
}

View File

@ -1,8 +1,6 @@
dependencies {
implementation(group: 'com.github.oshi', name: 'oshi-core', version: "5.7.3") {
exclude(group: "org.slf4j")
}
}

View File

@ -40,10 +40,9 @@ public class AixDiskExtension implements MetricExtension {
public AixDiskExtension() {
systemInfo = new SystemInfo();
hardwareAbstractionLayer = systemInfo.getHardware();
log.warn(systemInfo.getOperatingSystem().toString());
}