Uses of Class
com.nmontytskyi.monitoring.model.MetricSnapshot
Packages that use MetricSnapshot
-
Uses of MetricSnapshot in com.nmontytskyi.monitoring.collector
Methods in com.nmontytskyi.monitoring.collector that return MetricSnapshotModifier and TypeMethodDescriptionMetricsCollector.collect(ServiceInfo service) Collects the current metrics from the specified service.Methods in com.nmontytskyi.monitoring.collector with parameters of type MetricSnapshotModifier and TypeMethodDescriptionvoidMetricsReporter.report(MetricSnapshot snapshot) Sends a single technical metric snapshot to the monitoring server.Method parameters in com.nmontytskyi.monitoring.collector with type arguments of type MetricSnapshotModifier and TypeMethodDescriptionvoidMetricsReporter.reportBatch(List<MetricSnapshot> snapshots) Sends a batch of technical snapshots in a single HTTP request. -
Uses of MetricSnapshot in com.nmontytskyi.monitoring.server.mapper
Methods in com.nmontytskyi.monitoring.server.mapper that return MetricSnapshotModifier and TypeMethodDescriptionstatic MetricSnapshotMetricSnapshotMapper.toModel(MetricRecordEntity entity) Converts aMetricRecordEntity(loaded from the database) into aMetricSnapshotcore domain object.Methods in com.nmontytskyi.monitoring.server.mapper with parameters of type MetricSnapshotModifier and TypeMethodDescriptionstatic MetricRecordEntityMetricSnapshotMapper.toEntity(MetricSnapshot snapshot, MetricRecordEntity.MetricSource source, RegisteredServiceEntity service) Converts aMetricSnapshotcore domain object into aMetricRecordEntityready to be persisted.