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 { from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect {
zipTree(it).matching { zipTree(it).matching {
exclude 'org/pf4j/**'
exclude 'org/slf4j/**' 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 { dependencies {
implementation(group: 'com.github.oshi', name: 'oshi-core', version: "5.7.3") { implementation(group: 'com.github.oshi', name: 'oshi-core', version: "5.7.3") {
exclude(group: "org.slf4j") exclude(group: "org.slf4j")
} }
} }

View file

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