Interface Sets


public interface Sets
Sets report the number of unique elements that are received in a flush period.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    insert(String bucket, String value)
    Inserts the value into a set of unique values until the underlying implementation flushes again.
    void
    insert(String bucket, String value, Double sampleRate)
    Inserts the value into a set of unique values until the underlying implementation flushes again.
    void
    insert(String bucket, String value, Double sampleRate, Map<String,String> tags)
    Inserts the value into a set of unique values until the underlying implementation flushes again.
    void
    insert(String bucket, String value, Map<String,String> tags)
    Inserts the value into a set of unique values until the underlying implementation flushes again.
  • Method Details

    • insert

      void insert(String bucket, String value)
      Inserts the value into a set of unique values until the underlying implementation flushes again.
      Parameters:
      bucket - name of the set
      value - value to track
    • insert

      void insert(String bucket, String value, Double sampleRate)
      Inserts the value into a set of unique values until the underlying implementation flushes again.
      Parameters:
      bucket - name of the set
      value - value to track
      sampleRate - percentage of set metric to be sent
    • insert

      void insert(String bucket, String value, Map<String,String> tags)
      Inserts the value into a set of unique values until the underlying implementation flushes again.
      Parameters:
      bucket - name of the set
      value - value to track
      tags - map of tags to be added to the data
    • insert

      void insert(String bucket, String value, Double sampleRate, Map<String,String> tags)
      Inserts the value into a set of unique values until the underlying implementation flushes again.
      Parameters:
      bucket - name of the set
      value - value to track
      sampleRate - percentage of set metric to be sent
      tags - map of tags to be added to the data