Class FileDescriptorRatioGauge

  • All Implemented Interfaces:
    io.dropwizard.metrics5.Gauge<Double>, io.dropwizard.metrics5.Metric

    public class FileDescriptorRatioGauge
    extends io.dropwizard.metrics5.RatioGauge
    A gauge for the ratio of used to total file descriptors.
    • Constructor Detail

      • FileDescriptorRatioGauge

        public FileDescriptorRatioGauge()
        Creates a new gauge using the platform OS bean.
    • Method Detail

      • getRatio

        protected io.dropwizard.metrics5.RatioGauge.Ratio getRatio()
        Specified by:
        getRatio in class io.dropwizard.metrics5.RatioGauge