Interface Gauges


@Deprecated public interface Gauges
Deprecated.
Please use Core.metrics().Metrics.createGauge(String). This interface will be removed in Mendix 11.
Gauges are arbitrary, persistent values.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    recordDelta(String bucket, double delta)
    Deprecated.
    Records a change in the value of the specified named gauge.
    void
    recordDelta(String bucket, double delta, double sampleRate)
    Deprecated.
    Records a change in the value of the specified named gauge.
    void
    recordDelta(String bucket, double delta, double sampleRate, Map<String,String> tags)
    Deprecated.
    Records a change in the value of the specified named gauge with tags.
    void
    recordDelta(String bucket, double delta, Map<String,String> tags)
    Deprecated.
    Records a change in the value of the specified named gauge with tags.
    void
    recordDelta(String bucket, int delta)
    Deprecated.
    Records a change in the value of the specified named gauge.
    void
    recordDelta(String bucket, int delta, double sampleRate)
    Deprecated.
    Records a change in the value of the specified named gauge.
    void
    recordDelta(String bucket, int delta, double sampleRate, Map<String,String> tags)
    Deprecated.
    Records a change in the value of the specified named gauge with tags.
    void
    recordDelta(String bucket, int delta, Map<String,String> tags)
    Deprecated.
    Records a change in the value of the specified named gauge with tags.
    void
    recordDelta(String bucket, long delta)
    Deprecated.
    Records a change in the value of the specified named gauge.
    void
    recordDelta(String bucket, long delta, double sampleRate)
    Deprecated.
    Records a change in the value of the specified named gauge.
    void
    recordDelta(String bucket, long delta, double sampleRate, Map<String,String> tags)
    Deprecated.
    Records a change in the value of the specified named gauge with tags.
    void
    recordDelta(String bucket, long delta, Map<String,String> tags)
    Deprecated.
    Records a change in the value of the specified named gauge with tags.
    void
    recordValue(String bucket, double value)
    Deprecated.
    Records the latest fixed value for the specified named gauge.
    void
    recordValue(String bucket, double value, double sampleRate)
    Deprecated.
    Records the latest fixed value for the specified named gauge.
    void
    recordValue(String bucket, double value, double sampleRate, Map<String,String> tags)
    Deprecated.
    Records the latest fixed value for the specified named gauge with tags.
    void
    recordValue(String bucket, double value, Map<String,String> tags)
    Deprecated.
    Records the latest fixed value for the specified named gauge with tags.
    void
    recordValue(String bucket, int value)
    Deprecated.
    Records the latest fixed value for the specified named gauge.
    void
    recordValue(String bucket, int value, double sampleRate)
    Deprecated.
    Records the latest fixed value for the specified named gauge.
    void
    recordValue(String bucket, int value, double sampleRate, Map<String,String> tags)
    Deprecated.
    Records the latest fixed value for the specified named gauge with tags.
    void
    recordValue(String bucket, int value, Map<String,String> tags)
    Deprecated.
    Records the latest fixed value for the specified named gauge with tags.
    void
    recordValue(String bucket, long value)
    Deprecated.
    Records the latest fixed value for the specified named gauge.
    void
    recordValue(String bucket, long value, double sampleRate)
    Deprecated.
    Records the latest fixed value for the specified named gauge.
    void
    recordValue(String bucket, long value, double sampleRate, Map<String,String> tags)
    Deprecated.
    Records the latest fixed value for the specified named gauge with tags.
    void
    recordValue(String bucket, long value, Map<String,String> tags)
    Deprecated.
    Records the latest fixed value for the specified named gauge with tags.
  • Method Details

    • recordValue

      void recordValue(String bucket, int value)
      Deprecated.
      Records the latest fixed value for the specified named gauge.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
    • recordValue

      void recordValue(String bucket, int value, double sampleRate)
      Deprecated.
      Records the latest fixed value for the specified named gauge.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
      sampleRate - percentage of gauge metric to be sent
    • recordValue

      void recordValue(String bucket, int value, Map<String,String> tags)
      Deprecated.
      Records the latest fixed value for the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
      tags - map of tags to be added to the data
    • recordValue

      void recordValue(String bucket, int value, double sampleRate, Map<String,String> tags)
      Deprecated.
      Records the latest fixed value for the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
      sampleRate - percentage of gauge metric to be sent
      tags - map of tags to be added to the data
    • recordValue

      void recordValue(String bucket, long value)
      Deprecated.
      Records the latest fixed value for the specified named gauge.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
    • recordValue

      void recordValue(String bucket, long value, double sampleRate)
      Deprecated.
      Records the latest fixed value for the specified named gauge.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
      sampleRate - percentage of gauge metric to be sent
    • recordValue

      void recordValue(String bucket, long value, Map<String,String> tags)
      Deprecated.
      Records the latest fixed value for the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
      tags - map of tags to be added to the data
    • recordValue

      void recordValue(String bucket, long value, double sampleRate, Map<String,String> tags)
      Deprecated.
      Records the latest fixed value for the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
      sampleRate - percentage of gauge metric to be sent
      tags - map of tags to be added to the data
    • recordValue

      void recordValue(String bucket, double value)
      Deprecated.
      Records the latest fixed value for the specified named gauge.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
    • recordValue

      void recordValue(String bucket, double value, double sampleRate)
      Deprecated.
      Records the latest fixed value for the specified named gauge.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
      sampleRate - percentage of gauge metric to be sent
    • recordValue

      void recordValue(String bucket, double value, Map<String,String> tags)
      Deprecated.
      Records the latest fixed value for the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
      tags - map of tags to be added to the data
    • recordValue

      void recordValue(String bucket, double value, double sampleRate, Map<String,String> tags)
      Deprecated.
      Records the latest fixed value for the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      value - new reading of the gauge
      sampleRate - percentage of gauge metric to be sent
      tags - map of tags to be added to the data
    • recordDelta

      void recordDelta(String bucket, int delta)
      Deprecated.
      Records a change in the value of the specified named gauge.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
    • recordDelta

      void recordDelta(String bucket, int delta, double sampleRate)
      Deprecated.
      Records a change in the value of the specified named gauge.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
      sampleRate - percentage of gauge metric to be sent
    • recordDelta

      void recordDelta(String bucket, int delta, Map<String,String> tags)
      Deprecated.
      Records a change in the value of the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
      tags - map of tags to be added to the data
    • recordDelta

      void recordDelta(String bucket, int delta, double sampleRate, Map<String,String> tags)
      Deprecated.
      Records a change in the value of the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
      sampleRate - percentage of gauge metric to be sent
      tags - map of tags to be added to the data
    • recordDelta

      void recordDelta(String bucket, long delta)
      Deprecated.
      Records a change in the value of the specified named gauge.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
    • recordDelta

      void recordDelta(String bucket, long delta, double sampleRate)
      Deprecated.
      Records a change in the value of the specified named gauge.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
      sampleRate - percentage of gauge metric to be sent
    • recordDelta

      void recordDelta(String bucket, long delta, Map<String,String> tags)
      Deprecated.
      Records a change in the value of the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
      tags - map of tags to be added to the data
    • recordDelta

      void recordDelta(String bucket, long delta, double sampleRate, Map<String,String> tags)
      Deprecated.
      Records a change in the value of the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
      sampleRate - percentage of gauge metric to be sent
      tags - map of tags to be added to the data
    • recordDelta

      void recordDelta(String bucket, double delta)
      Deprecated.
      Records a change in the value of the specified named gauge.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
    • recordDelta

      void recordDelta(String bucket, double delta, double sampleRate)
      Deprecated.
      Records a change in the value of the specified named gauge.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
      sampleRate - percentage of gauge metric to be sent
    • recordDelta

      void recordDelta(String bucket, double delta, Map<String,String> tags)
      Deprecated.
      Records a change in the value of the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
      tags - map of tags to be added to the data
    • recordDelta

      void recordDelta(String bucket, double delta, double sampleRate, Map<String,String> tags)
      Deprecated.
      Records a change in the value of the specified named gauge with tags.
      Parameters:
      bucket - name of the gauge
      delta - change in the value of the gauge
      sampleRate - percentage of gauge metric to be sent
      tags - map of tags to be added to the data