More work on Linux network metrics.
This commit is contained in:
parent
1e3f7e9345
commit
ea4cbf3f6a
|
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue