All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pro.panopticon.client.sensor.impl.ReportTimeSensor Maven / Gradle / Ivy

package pro.panopticon.client.sensor.impl;

import pro.panopticon.client.model.Measurement;
import pro.panopticon.client.sensor.Sensor;

import java.time.LocalDateTime;
import java.util.List;

import static java.util.Collections.singletonList;

public class ReportTimeSensor implements Sensor {
    @Override
    public List measure() {
        return singletonList(
                new Measurement("report.generated", "INFO", LocalDateTime.now().toString())
        );
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy