Package kieker.monitoring.sampler.oshi.samplers
Copyright 2022 Kieker Project (http://kieker-monitoring.net)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-
Class Summary Class Description AbstractOshiSampler Eases the implementation ofISamplers which collect system-level sensor data via thecom.github.oshiAPI and store this data asIMonitoringRecords viaWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord).CPUsCombinedPercSampler Logs the combined (i.e., User + Sys + Nice + Wait) cpu utilization for each CPU in the system, retrieved viaHardwareAbstractionLayer, asResourceUtilizationRecords viaIWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord).CPUsDetailedPercConverter Converts and stores CPU percentages (of i.e., User + Sys + Nice + Wait) The conversion is made by collecting the ticks at two different times, calculating the deltas and by calculating the relative values.CPUsDetailedPercSampler Logs detailed utilization statistics for each CPU in the system, retrieved fromCentralProcessor, asCPUUtilizationRecords viaIWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord).DiskUsageSampler Logs disk usage of the system, retrieved asDiskUsageRecordviaIWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord).LoadAverageSampler Logs load average of the system, retrieved asLoadAverageRecordviaIWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord).MemSwapUsageSampler Logs memory and swap statistics retrieved fromGlobalMemory, asMemSwapUsageRecords viaIWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord).NetworkUtilizationSampler Logs network utilization of the system, retrieved asNetworkUtilizationRecordviaIWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord).