Interface Counters


@Deprecated public interface Counters
Deprecated.
Please use Core.metrics().Metrics.createCounter(String). This interface will be removed in Mendix 11.
Counters count occurrences of an event.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    count(String bucket, double delta)
    Deprecated.
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, double delta, double sampleRate)
    Deprecated.
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, double delta, double sampleRate, Map<String,String> tags)
    Deprecated.
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, double delta, Map<String,String> tags)
    Deprecated.
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, int delta)
    Deprecated.
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, int delta, Double sampleRate)
    Deprecated.
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, int delta, Double sampleRate, Map<String,String> tags)
    Deprecated.
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, int delta, Map<String,String> tags)
    Deprecated.
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, long delta)
    Deprecated.
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, long delta, double sampleRate)
    Deprecated.
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, long delta, double sampleRate, Map<String,String> tags)
    Deprecated.
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, long delta, Map<String,String> tags)
    Deprecated.
    Adjusts the specified counter by a given delta.
  • Method Details

    • count

      void count(String bucket, int delta)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
    • count

      void count(String bucket, int delta, Double sampleRate)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
    • count

      void count(String bucket, int delta, Map<String,String> tags)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      tags - map of tags to be added to the data
    • count

      void count(String bucket, int delta, Double sampleRate, Map<String,String> tags)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
      tags - map of tags to be added to the data
    • count

      void count(String bucket, long delta)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
    • count

      void count(String bucket, long delta, double sampleRate)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
    • count

      void count(String bucket, long delta, Map<String,String> tags)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      tags - map of tags to be added to the data
    • count

      void count(String bucket, long delta, double sampleRate, Map<String,String> tags)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
      tags - map of tags to be added to the data
    • count

      void count(String bucket, double delta)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
    • count

      void count(String bucket, double delta, double sampleRate)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
    • count

      void count(String bucket, double delta, Map<String,String> tags)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      tags - map of tags to be added to the data
    • count

      void count(String bucket, double delta, double sampleRate, Map<String,String> tags)
      Deprecated.
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
      tags - map of tags to be added to the data