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 ofISampler
s which collect system-level sensor data via thecom.github.oshi
API and store this data asIMonitoringRecord
s 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
, asResourceUtilizationRecord
s 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
, asCPUUtilizationRecord
s viaIWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord)
.DiskUsageSampler Logs disk usage of the system, retrieved asDiskUsageRecord
viaIWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord)
.LoadAverageSampler Logs load average of the system, retrieved asLoadAverageRecord
viaIWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord)
.MemSwapUsageSampler Logs memory and swap statistics retrieved fromGlobalMemory
, asMemSwapUsageRecord
s viaIWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord)
.NetworkUtilizationSampler Logs network utilization of the system, retrieved asNetworkUtilizationRecord
viaIWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord)
.