Disable netstat extension.
Update example dashboard.
This commit is contained in:
parent
13cc0bbcfc
commit
638aab4b5d
|
@ -58,7 +58,7 @@ public class BaseDiskExtension implements MetricExtension {
|
||||||
List<HWDiskStore> diskStores = hardwareAbstractionLayer.getDiskStores();
|
List<HWDiskStore> diskStores = hardwareAbstractionLayer.getDiskStores();
|
||||||
for(HWDiskStore store : diskStores) {
|
for(HWDiskStore store : diskStores) {
|
||||||
String name = store.getName();
|
String name = store.getName();
|
||||||
if (name.matches("hdisk[0-9]+") || name.matches("/dev/[sv]d[a-z]{1}") || name.matches("/dev/nvme[0-9]n[0-9]")) {
|
if (name.matches("hdisk[0-9]+") || name.matches("/dev/x?[sv]d[a-z]{1}") || name.matches("/dev/nvme[0-9]n[0-9]")) {
|
||||||
log.debug("Using device: " + name);
|
log.debug("Using device: " + name);
|
||||||
writeBytes += store.getWriteBytes();
|
writeBytes += store.getWriteBytes();
|
||||||
readBytes += store.getReadBytes();
|
readBytes += store.getReadBytes();
|
||||||
|
|
Loading…
Reference in a new issue