Class CinnamonMetricsFactory

  • Direct Known Subclasses:
    CinnamonMetrics

    public abstract class CinnamonMetricsFactory
    extends java.lang.Object
    Cinnamon metrics API for custom metrics.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract Counter createCounter​(Descriptor descriptor)
      Create a new Counter metric with full Descriptor.
      abstract Counter createCounter​(java.lang.String name)
      Create a new Counter metric.
      abstract Counter createCounter​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags)
      Create a new Counter metric with tags (for Java).
      abstract Counter createCounter​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags, java.util.Set<java.lang.String> hints)
      Create a new Counter metric with tags and hints (for Java).
      abstract Counter createCounter​(java.lang.String name, java.util.Set<java.lang.String> hints)
      Create a new Counter metric with hints (for Java).
      abstract Counter createCounter​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
      Create a new Counter metric with tags (for Scala).
      abstract Counter createCounter​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new Counter metric with tags and hints (for Scala).
      abstract Counter createCounter​(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new Counter metric with hints (for Scala).
      abstract GaugeDouble createGaugeDouble​(Descriptor descriptor)
      Create a new GaugeDouble metric with full Descriptor.
      abstract GaugeDouble createGaugeDouble​(java.lang.String name)
      Create a new GaugeDouble metric.
      abstract GaugeDouble createGaugeDouble​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags)
      Create a new GaugeDouble metric with tags (for Java).
      abstract GaugeDouble createGaugeDouble​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags, java.util.Set<java.lang.String> hints)
      Create a new GaugeDouble metric with tags and hints (for Java).
      abstract GaugeDouble createGaugeDouble​(java.lang.String name, java.util.Set<java.lang.String> hints)
      Create a new GaugeDouble metric with hints (for Java).
      abstract GaugeDouble createGaugeDouble​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
      Create a new GaugeDouble metric with tags (for Scala).
      abstract GaugeDouble createGaugeDouble​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new GaugeDouble metric with tags and hints (for Scala).
      abstract GaugeDouble createGaugeDouble​(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new GaugeDouble metric with hints (for Scala).
      abstract GaugeLong createGaugeLong​(Descriptor descriptor)
      Create a new GaugeLong metric with full Descriptor.
      abstract GaugeLong createGaugeLong​(java.lang.String name)
      Create a new GaugeLong metric.
      abstract GaugeLong createGaugeLong​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags)
      Create a new GaugeLong metric with tags (for Java).
      abstract GaugeLong createGaugeLong​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags, java.util.Set<java.lang.String> hints)
      Create a new GaugeLong metric with tags and hints (for Java).
      abstract GaugeLong createGaugeLong​(java.lang.String name, java.util.Set<java.lang.String> hints)
      Create a new GaugeLong metric with hints (for Java).
      abstract GaugeLong createGaugeLong​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
      Create a new GaugeLong metric with tags (for Scala).
      abstract GaugeLong createGaugeLong​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new GaugeLong metric with tags and hints (for Scala).
      abstract GaugeLong createGaugeLong​(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new GaugeLong metric with hints (for Scala).
      abstract ProvidingGaugeDouble createProvidingGaugeDouble​(Descriptor descriptor, DoubleValueProvider valueProvider)
      Create a new ProvidingGaugeDouble metric with full Descriptor.
      abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name, DoubleValueProvider valueProvider)
      Create a new ProvidingGaugeDouble metric.
      abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name, DoubleValueProvider valueProvider, java.util.Map<java.lang.String,​java.lang.String> tags)
      Create a new ProvidingGaugeDouble metric with tags (for Java).
      abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name, DoubleValueProvider valueProvider, java.util.Map<java.lang.String,​java.lang.String> tags, java.util.Set<java.lang.String> hints)
      Create a new ProvidingGaugeDouble metric with tags and hints (for Java).
      abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name, DoubleValueProvider valueProvider, java.util.Set<java.lang.String> hints)
      Create a new ProvidingGaugeDouble metric with hints (for Java).
      abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name, DoubleValueProvider valueProvider, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
      Create a new ProvidingGaugeDouble metric with tags (for Scala).
      abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name, DoubleValueProvider valueProvider, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new ProvidingGaugeDouble metric with tags and hints (for Scala).
      abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name, DoubleValueProvider valueProvider, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new ProvidingGaugeDouble metric with hints (for Scala).
      abstract ProvidingGaugeLong createProvidingGaugeLong​(Descriptor descriptor, LongValueProvider valueProvider)
      Create a new ProvidingGaugeLong metric with full Descriptor.
      abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name, LongValueProvider valueProvider)
      Create a new ProvidingGaugeLong metric.
      abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name, LongValueProvider valueProvider, java.util.Map<java.lang.String,​java.lang.String> tags)
      Create a new ProvidingGaugeLong metric with tags (for Java).
      abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name, LongValueProvider valueProvider, java.util.Map<java.lang.String,​java.lang.String> tags, java.util.Set<java.lang.String> hints)
      Create a new ProvidingGaugeLong metric with tags and hints (for Java).
      abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name, LongValueProvider valueProvider, java.util.Set<java.lang.String> hints)
      Create a new ProvidingGaugeLong metric with hints (for Java).
      abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name, LongValueProvider valueProvider, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
      Create a new ProvidingGaugeLong metric with tags (for Scala).
      abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name, LongValueProvider valueProvider, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new ProvidingGaugeLong metric with tags and hints (for Scala).
      abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name, LongValueProvider valueProvider, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new ProvidingGaugeLong metric with hints (for Scala).
      abstract Rate createRate​(Descriptor descriptor)
      Create a new Rate metric with full Descriptor.
      abstract Rate createRate​(java.lang.String name)
      Create a new Rate metric.
      abstract Rate createRate​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags)
      Create a new Rate metric with tags (for Java).
      abstract Rate createRate​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags, java.util.Set<java.lang.String> hints)
      Create a new Rate metric with tags and hints (for Java).
      abstract Rate createRate​(java.lang.String name, java.util.Set<java.lang.String> hints)
      Create a new Rate metric with hints (for Java).
      abstract Rate createRate​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
      Create a new Rate metric with tags (for Scala).
      abstract Rate createRate​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new Rate metric with tags and hints (for Scala).
      abstract Rate createRate​(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new Rate metric with hints (for Scala).
      abstract Recorder createRecorder​(Descriptor descriptor)
      Create a new Recorder metric with full Descriptor.
      abstract Recorder createRecorder​(java.lang.String name)
      Create a new Recorder metric.
      abstract Recorder createRecorder​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags)
      Create a new Recorder metric with tags (for Java).
      abstract Recorder createRecorder​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags, java.util.Set<java.lang.String> hints)
      Create a new Recorder metric with tags and hints (for Java).
      abstract Recorder createRecorder​(java.lang.String name, java.util.Set<java.lang.String> hints)
      Create a new Recorder metric with hints (for Java).
      abstract Recorder createRecorder​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
      Create a new Recorder metric with tags (for Scala).
      abstract Recorder createRecorder​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new Recorder metric with tags and hints (for Scala).
      abstract Recorder createRecorder​(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new Recorder metric with hints (for Scala).
      abstract Timer createTimer​(Descriptor descriptor)
      Create a new Timer metric with full Descriptor.
      abstract Timer createTimer​(java.lang.String name)
      Create a new Timer metric.
      abstract Timer createTimer​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags)
      Create a new Timer metric with tags (for Java).
      abstract Timer createTimer​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> tags, java.util.Set<java.lang.String> hints)
      Create a new Timer metric with tags and hints (for Java).
      abstract Timer createTimer​(java.lang.String name, java.util.Set<java.lang.String> hints)
      Create a new Timer metric with hints (for Java).
      abstract Timer createTimer​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
      Create a new Timer metric with tags (for Scala).
      abstract Timer createTimer​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new Timer metric with tags and hints (for Scala).
      abstract Timer createTimer​(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)
      Create a new Timer metric with hints (for Scala).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CinnamonMetricsFactory

        public CinnamonMetricsFactory()
    • Method Detail

      • createCounter

        public abstract Counter createCounter​(java.lang.String name)
        Create a new Counter metric.

        Parameters:
        name - the name of the Counter metric
        Returns:
        a new Counter metric with the given name
      • createCounter

        public abstract Counter createCounter​(java.lang.String name,
                                              scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
        Create a new Counter metric with tags (for Scala).

        Parameters:
        name - the name of the Counter metric
        tags - the tags (Scala Map) for the Counter metric
        Returns:
        a new Counter metric with the given name and tags
      • createCounter

        public abstract Counter createCounter​(java.lang.String name,
                                              java.util.Map<java.lang.String,​java.lang.String> tags)
        Create a new Counter metric with tags (for Java).

        Parameters:
        name - the name of the Counter metric
        tags - the tags (Java Map) for the Counter metric
        Returns:
        a new Counter metric with the given name and tags
      • createCounter

        public abstract Counter createCounter​(java.lang.String name,
                                              scala.collection.immutable.Set<java.lang.String> hints)
        Create a new Counter metric with hints (for Scala).

        Parameters:
        name - the name of the Counter metric
        hints - the hints (Scala Set) for the Counter metric
        Returns:
        a new Counter metric with the given name and hints
      • createCounter

        public abstract Counter createCounter​(java.lang.String name,
                                              java.util.Set<java.lang.String> hints)
        Create a new Counter metric with hints (for Java).

        Parameters:
        name - the name of the Counter metric
        hints - the hints (Java Set) for the Counter metric
        Returns:
        a new Counter metric with the given name and hints
      • createCounter

        public abstract Counter createCounter​(java.lang.String name,
                                              scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags,
                                              scala.collection.immutable.Set<java.lang.String> hints)
        Create a new Counter metric with tags and hints (for Scala).

        Parameters:
        name - the name of the Counter metric
        tags - the tags (Scala Map) for the Counter metric
        hints - the hints (Scala Set) for the Counter metric
        Returns:
        a new Counter metric with the given name, tags, and hints
      • createCounter

        public abstract Counter createCounter​(java.lang.String name,
                                              java.util.Map<java.lang.String,​java.lang.String> tags,
                                              java.util.Set<java.lang.String> hints)
        Create a new Counter metric with tags and hints (for Java).

        Parameters:
        name - the name of the Counter metric
        tags - the tags (Java Map) for the Counter metric
        hints - the hints (Java Set) for the Counter metric
        Returns:
        a new Counter metric with the given name, tags, and hints
      • createCounter

        public abstract Counter createCounter​(Descriptor descriptor)
        Create a new Counter metric with full Descriptor.

        Parameters:
        descriptor - the descriptor for the Counter metric
        Returns:
        a new Counter metric based on the given descriptor
      • createGaugeDouble

        public abstract GaugeDouble createGaugeDouble​(java.lang.String name)
        Create a new GaugeDouble metric.

        Parameters:
        name - the name of the GaugeDouble metric
        Returns:
        a new GaugeDouble metric with the given name
      • createGaugeDouble

        public abstract GaugeDouble createGaugeDouble​(java.lang.String name,
                                                      scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
        Create a new GaugeDouble metric with tags (for Scala).

        Parameters:
        name - the name of the GaugeDouble metric
        tags - the tags (Scala Map) for the GaugeDouble metric
        Returns:
        a new GaugeDouble metric with the given name and tags
      • createGaugeDouble

        public abstract GaugeDouble createGaugeDouble​(java.lang.String name,
                                                      java.util.Map<java.lang.String,​java.lang.String> tags)
        Create a new GaugeDouble metric with tags (for Java).

        Parameters:
        name - the name of the GaugeDouble metric
        tags - the tags (Java Map) for the GaugeDouble metric
        Returns:
        a new GaugeDouble metric with the given name and tags
      • createGaugeDouble

        public abstract GaugeDouble createGaugeDouble​(java.lang.String name,
                                                      scala.collection.immutable.Set<java.lang.String> hints)
        Create a new GaugeDouble metric with hints (for Scala).

        Parameters:
        name - the name of the GaugeDouble metric
        hints - the hints (Scala Set) for the GaugeDouble metric
        Returns:
        a new GaugeDouble metric with the given name and hints
      • createGaugeDouble

        public abstract GaugeDouble createGaugeDouble​(java.lang.String name,
                                                      java.util.Set<java.lang.String> hints)
        Create a new GaugeDouble metric with hints (for Java).

        Parameters:
        name - the name of the GaugeDouble metric
        hints - the hints (Java Set) for the GaugeDouble metric
        Returns:
        a new GaugeDouble metric with the given name and hints
      • createGaugeDouble

        public abstract GaugeDouble createGaugeDouble​(java.lang.String name,
                                                      scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags,
                                                      scala.collection.immutable.Set<java.lang.String> hints)
        Create a new GaugeDouble metric with tags and hints (for Scala).

        Parameters:
        name - the name of the GaugeDouble metric
        tags - the tags (Scala Map) for the GaugeDouble metric
        hints - the hints (Scala Set) for the GaugeDouble metric
        Returns:
        a new GaugeDouble metric with the given name, tags, and hints
      • createGaugeDouble

        public abstract GaugeDouble createGaugeDouble​(java.lang.String name,
                                                      java.util.Map<java.lang.String,​java.lang.String> tags,
                                                      java.util.Set<java.lang.String> hints)
        Create a new GaugeDouble metric with tags and hints (for Java).

        Parameters:
        name - the name of the GaugeDouble metric
        tags - the tags (Java Map) for the GaugeDouble metric
        hints - the hints (Java Set) for the GaugeDouble metric
        Returns:
        a new GaugeDouble metric with the given name, tags, and hints
      • createGaugeDouble

        public abstract GaugeDouble createGaugeDouble​(Descriptor descriptor)
        Create a new GaugeDouble metric with full Descriptor.

        Parameters:
        descriptor - the descriptor for the GaugeDouble metric
        Returns:
        a new GaugeDouble metric based on the given descriptor
      • createGaugeLong

        public abstract GaugeLong createGaugeLong​(java.lang.String name)
        Create a new GaugeLong metric.

        Parameters:
        name - the name of the GaugeLong metric
        Returns:
        a new GaugeLong metric with the given name
      • createGaugeLong

        public abstract GaugeLong createGaugeLong​(java.lang.String name,
                                                  scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
        Create a new GaugeLong metric with tags (for Scala).

        Parameters:
        name - the name of the GaugeLong metric
        tags - the tags (Scala Map) for the GaugeLong metric
        Returns:
        a new GaugeLong metric with the given name and tags
      • createGaugeLong

        public abstract GaugeLong createGaugeLong​(java.lang.String name,
                                                  java.util.Map<java.lang.String,​java.lang.String> tags)
        Create a new GaugeLong metric with tags (for Java).

        Parameters:
        name - the name of the GaugeLong metric
        tags - the tags (Java Map) for the GaugeLong metric
        Returns:
        a new GaugeLong metric with the given name and tags
      • createGaugeLong

        public abstract GaugeLong createGaugeLong​(java.lang.String name,
                                                  scala.collection.immutable.Set<java.lang.String> hints)
        Create a new GaugeLong metric with hints (for Scala).

        Parameters:
        name - the name of the GaugeLong metric
        hints - the hints (Scala Set) for the GaugeLong metric
        Returns:
        a new GaugeLong metric with the given name and hints
      • createGaugeLong

        public abstract GaugeLong createGaugeLong​(java.lang.String name,
                                                  java.util.Set<java.lang.String> hints)
        Create a new GaugeLong metric with hints (for Java).

        Parameters:
        name - the name of the GaugeLong metric
        hints - the hints (Java Set) for the GaugeLong metric
        Returns:
        a new GaugeLong metric with the given name and hints
      • createGaugeLong

        public abstract GaugeLong createGaugeLong​(java.lang.String name,
                                                  scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags,
                                                  scala.collection.immutable.Set<java.lang.String> hints)
        Create a new GaugeLong metric with tags and hints (for Scala).

        Parameters:
        name - the name of the GaugeLong metric
        tags - the tags (Scala Map) for the GaugeLong metric
        hints - the hints (Scala Set) for the GaugeLong metric
        Returns:
        a new GaugeLong metric with the given name, tags, and hints
      • createGaugeLong

        public abstract GaugeLong createGaugeLong​(java.lang.String name,
                                                  java.util.Map<java.lang.String,​java.lang.String> tags,
                                                  java.util.Set<java.lang.String> hints)
        Create a new GaugeLong metric with tags and hints (for Java).

        Parameters:
        name - the name of the GaugeLong metric
        tags - the tags (Java Map) for the GaugeLong metric
        hints - the hints (Java Set) for the GaugeLong metric
        Returns:
        a new GaugeLong metric with the given name, tags, and hints
      • createGaugeLong

        public abstract GaugeLong createGaugeLong​(Descriptor descriptor)
        Create a new GaugeLong metric with full Descriptor.

        Parameters:
        descriptor - the descriptor for the GaugeLong metric
        Returns:
        a new GaugeLong metric based on the given descriptor
      • createProvidingGaugeDouble

        public abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name,
                                                                        DoubleValueProvider valueProvider)
        Create a new ProvidingGaugeDouble metric.

        Parameters:
        name - the name of the ProvidingGaugeDouble metric
        valueProvider - the value provider to call for this ProvidingGaugeDouble
        Returns:
        a new ProvidingGaugeDouble metric with the given name
      • createProvidingGaugeDouble

        public abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name,
                                                                        DoubleValueProvider valueProvider,
                                                                        scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
        Create a new ProvidingGaugeDouble metric with tags (for Scala).

        Parameters:
        name - the name of the ProvidingGaugeDouble metric
        valueProvider - the value provider to call for this ProvidingGaugeDouble
        tags - the tags (Scala Map) for the ProvidingGaugeDouble metric
        Returns:
        a new ProvidingGaugeDouble metric with the given name and tags
      • createProvidingGaugeDouble

        public abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name,
                                                                        DoubleValueProvider valueProvider,
                                                                        java.util.Map<java.lang.String,​java.lang.String> tags)
        Create a new ProvidingGaugeDouble metric with tags (for Java).

        Parameters:
        name - the name of the ProvidingGaugeDouble metric
        valueProvider - the value provider to call for this ProvidingGaugeDouble
        tags - the tags (Java Map) for the ProvidingGaugeDouble metric
        Returns:
        a new ProvidingGaugeDouble metric with the given name and tags
      • createProvidingGaugeDouble

        public abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name,
                                                                        DoubleValueProvider valueProvider,
                                                                        scala.collection.immutable.Set<java.lang.String> hints)
        Create a new ProvidingGaugeDouble metric with hints (for Scala).

        Parameters:
        name - the name of the ProvidingGaugeDouble metric
        valueProvider - the value provider to call for this ProvidingGaugeDouble
        hints - the hints (Scala Set) for the ProvidingGaugeDouble metric
        Returns:
        a new ProvidingGaugeDouble metric with the given name and hints
      • createProvidingGaugeDouble

        public abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name,
                                                                        DoubleValueProvider valueProvider,
                                                                        java.util.Set<java.lang.String> hints)
        Create a new ProvidingGaugeDouble metric with hints (for Java).

        Parameters:
        name - the name of the ProvidingGaugeDouble metric
        valueProvider - the value provider to call for this ProvidingGaugeDouble
        hints - the hints (Java Set) for the ProvidingGaugeDouble metric
        Returns:
        a new ProvidingGaugeDouble metric with the given name and hints
      • createProvidingGaugeDouble

        public abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name,
                                                                        DoubleValueProvider valueProvider,
                                                                        scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags,
                                                                        scala.collection.immutable.Set<java.lang.String> hints)
        Create a new ProvidingGaugeDouble metric with tags and hints (for Scala).

        Parameters:
        name - the name of the ProvidingGaugeDouble metric
        valueProvider - the value provider to call for this ProvidingGaugeDouble
        tags - the tags (Scala Map) for the ProvidingGaugeDouble metric
        hints - the hints (Scala Set) for the ProvidingGaugeDouble metric
        Returns:
        a new ProvidingGaugeDouble metric with the given name, tags, and hints
      • createProvidingGaugeDouble

        public abstract ProvidingGaugeDouble createProvidingGaugeDouble​(java.lang.String name,
                                                                        DoubleValueProvider valueProvider,
                                                                        java.util.Map<java.lang.String,​java.lang.String> tags,
                                                                        java.util.Set<java.lang.String> hints)
        Create a new ProvidingGaugeDouble metric with tags and hints (for Java).

        Parameters:
        name - the name of the ProvidingGaugeDouble metric
        valueProvider - the value provider to call for this ProvidingGaugeDouble
        tags - the tags (Java Map) for the ProvidingGaugeDouble metric
        hints - the hints (Java Set) for the ProvidingGaugeDouble metric
        Returns:
        a new ProvidingGaugeDouble metric with the given name, tags, and hints
      • createProvidingGaugeDouble

        public abstract ProvidingGaugeDouble createProvidingGaugeDouble​(Descriptor descriptor,
                                                                        DoubleValueProvider valueProvider)
        Create a new ProvidingGaugeDouble metric with full Descriptor.

        Parameters:
        descriptor - the descriptor for the ProvidingGaugeDouble metric
        valueProvider - the value provider to call for this ProvidingGaugeDouble
        Returns:
        a new ProvidingGaugeDouble metric based on the given descriptor
      • createProvidingGaugeLong

        public abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name,
                                                                    LongValueProvider valueProvider)
        Create a new ProvidingGaugeLong metric.

        Parameters:
        name - the name of the ProvidingGaugeLong metric
        valueProvider - the value provider to call for this ProvidingGaugeLong
        Returns:
        a new ProvidingGaugeLong metric with the given name
      • createProvidingGaugeLong

        public abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name,
                                                                    LongValueProvider valueProvider,
                                                                    scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
        Create a new ProvidingGaugeLong metric with tags (for Scala).

        Parameters:
        name - the name of the ProvidingGaugeLong metric
        valueProvider - the value provider to call for this ProvidingGaugeLong
        tags - the tags (Scala Map) for the ProvidingGaugeLong metric
        Returns:
        a new ProvidingGaugeLong metric with the given name and tags
      • createProvidingGaugeLong

        public abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name,
                                                                    LongValueProvider valueProvider,
                                                                    java.util.Map<java.lang.String,​java.lang.String> tags)
        Create a new ProvidingGaugeLong metric with tags (for Java).

        Parameters:
        name - the name of the ProvidingGaugeLong metric
        valueProvider - the value provider to call for this ProvidingGaugeLong
        tags - the tags (Java Map) for the ProvidingGaugeLong metric
        Returns:
        a new ProvidingGaugeLong metric with the given name and tags
      • createProvidingGaugeLong

        public abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name,
                                                                    LongValueProvider valueProvider,
                                                                    scala.collection.immutable.Set<java.lang.String> hints)
        Create a new ProvidingGaugeLong metric with hints (for Scala).

        Parameters:
        name - the name of the ProvidingGaugeLong metric
        valueProvider - the value provider to call for this ProvidingGaugeLong
        hints - the hints (Scala Set) for the ProvidingGaugeLong metric
        Returns:
        a new ProvidingGaugeLong metric with the given name and hints
      • createProvidingGaugeLong

        public abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name,
                                                                    LongValueProvider valueProvider,
                                                                    java.util.Set<java.lang.String> hints)
        Create a new ProvidingGaugeLong metric with hints (for Java).

        Parameters:
        name - the name of the ProvidingGaugeLong metric
        valueProvider - the value provider to call for this ProvidingGaugeLong
        hints - the hints (Java Set) for the ProvidingGaugeLong metric
        Returns:
        a new ProvidingGaugeLong metric with the given name and hints
      • createProvidingGaugeLong

        public abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name,
                                                                    LongValueProvider valueProvider,
                                                                    scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags,
                                                                    scala.collection.immutable.Set<java.lang.String> hints)
        Create a new ProvidingGaugeLong metric with tags and hints (for Scala).

        Parameters:
        name - the name of the ProvidingGaugeLong metric
        valueProvider - the value provider to call for this ProvidingGaugeLong
        tags - the tags (Scala Map) for the ProvidingGaugeLong metric
        hints - the hints (Scala Set) for the ProvidingGaugeLong metric
        Returns:
        a new ProvidingGaugeLong metric with the given name, tags, and hints
      • createProvidingGaugeLong

        public abstract ProvidingGaugeLong createProvidingGaugeLong​(java.lang.String name,
                                                                    LongValueProvider valueProvider,
                                                                    java.util.Map<java.lang.String,​java.lang.String> tags,
                                                                    java.util.Set<java.lang.String> hints)
        Create a new ProvidingGaugeLong metric with tags and hints (for Java).

        Parameters:
        name - the name of the ProvidingGaugeLong metric
        valueProvider - the value provider to call for this ProvidingGaugeLong
        tags - the tags (Java Map) for the ProvidingGaugeLong metric
        hints - the hints (Java Set) for the ProvidingGaugeLong metric
        Returns:
        a new ProvidingGaugeLong metric with the given name, tags, and hints
      • createProvidingGaugeLong

        public abstract ProvidingGaugeLong createProvidingGaugeLong​(Descriptor descriptor,
                                                                    LongValueProvider valueProvider)
        Create a new ProvidingGaugeLong metric with full Descriptor.

        Parameters:
        descriptor - the descriptor for the ProvidingGaugeLong metric
        valueProvider - the value provider to call for this ProvidingGaugeLong
        Returns:
        a new ProvidingGaugeLong metric based on the given descriptor
      • createRate

        public abstract Rate createRate​(java.lang.String name)
        Create a new Rate metric.

        Parameters:
        name - the name of the Rate metric
        Returns:
        a new Rate metric with the given name
      • createRate

        public abstract Rate createRate​(java.lang.String name,
                                        scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
        Create a new Rate metric with tags (for Scala).

        Parameters:
        name - the name of the Rate metric
        tags - the tags (Scala Map) for the Rate metric
        Returns:
        a new Rate metric with the given name and tags
      • createRate

        public abstract Rate createRate​(java.lang.String name,
                                        java.util.Map<java.lang.String,​java.lang.String> tags)
        Create a new Rate metric with tags (for Java).

        Parameters:
        name - the name of the Rate metric
        tags - the tags (Java Map) for the Rate metric
        Returns:
        a new Rate metric with the given name and tags
      • createRate

        public abstract Rate createRate​(java.lang.String name,
                                        scala.collection.immutable.Set<java.lang.String> hints)
        Create a new Rate metric with hints (for Scala).

        Parameters:
        name - the name of the Rate metric
        hints - the hints (Scala Set) for the Rate metric
        Returns:
        a new Rate metric with the given name and hints
      • createRate

        public abstract Rate createRate​(java.lang.String name,
                                        java.util.Set<java.lang.String> hints)
        Create a new Rate metric with hints (for Java).

        Parameters:
        name - the name of the Rate metric
        hints - the hints (Java Set) for the Rate metric
        Returns:
        a new Rate metric with the given name and hints
      • createRate

        public abstract Rate createRate​(java.lang.String name,
                                        scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags,
                                        scala.collection.immutable.Set<java.lang.String> hints)
        Create a new Rate metric with tags and hints (for Scala).

        Parameters:
        name - the name of the Rate metric
        tags - the tags (Scala Map) for the Rate metric
        hints - the hints (Scala Set) for the Rate metric
        Returns:
        a new Rate metric with the given name, tags, and hints
      • createRate

        public abstract Rate createRate​(java.lang.String name,
                                        java.util.Map<java.lang.String,​java.lang.String> tags,
                                        java.util.Set<java.lang.String> hints)
        Create a new Rate metric with tags and hints (for Java).

        Parameters:
        name - the name of the Rate metric
        tags - the tags (Java Map) for the Rate metric
        hints - the hints (Java Set) for the Rate metric
        Returns:
        a new Rate metric with the given name, tags, and hints
      • createRate

        public abstract Rate createRate​(Descriptor descriptor)
        Create a new Rate metric with full Descriptor.

        Parameters:
        descriptor - the descriptor for the Rate metric
        Returns:
        a new Rate metric based on the given descriptor
      • createRecorder

        public abstract Recorder createRecorder​(java.lang.String name)
        Create a new Recorder metric.

        Parameters:
        name - the name of the Recorder metric
        Returns:
        a new Recorder metric with the given name
      • createRecorder

        public abstract Recorder createRecorder​(java.lang.String name,
                                                scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
        Create a new Recorder metric with tags (for Scala).

        Parameters:
        name - the name of the Recorder metric
        tags - the tags (Scala Map) for the Recorder metric
        Returns:
        a new Recorder metric with the given name and tags
      • createRecorder

        public abstract Recorder createRecorder​(java.lang.String name,
                                                java.util.Map<java.lang.String,​java.lang.String> tags)
        Create a new Recorder metric with tags (for Java).

        Parameters:
        name - the name of the Recorder metric
        tags - the tags (Java Map) for the Recorder metric
        Returns:
        a new Recorder metric with the given name and tags
      • createRecorder

        public abstract Recorder createRecorder​(java.lang.String name,
                                                scala.collection.immutable.Set<java.lang.String> hints)
        Create a new Recorder metric with hints (for Scala).

        Parameters:
        name - the name of the Recorder metric
        hints - the hints (Scala Set) for the Recorder metric
        Returns:
        a new Recorder metric with the given name and hints
      • createRecorder

        public abstract Recorder createRecorder​(java.lang.String name,
                                                java.util.Set<java.lang.String> hints)
        Create a new Recorder metric with hints (for Java).

        Parameters:
        name - the name of the Recorder metric
        hints - the hints (Java Set) for the Recorder metric
        Returns:
        a new Recorder metric with the given name and hints
      • createRecorder

        public abstract Recorder createRecorder​(java.lang.String name,
                                                scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags,
                                                scala.collection.immutable.Set<java.lang.String> hints)
        Create a new Recorder metric with tags and hints (for Scala).

        Parameters:
        name - the name of the Recorder metric
        tags - the tags (Scala Map) for the Recorder metric
        hints - the hints (Scala Set) for the Recorder metric
        Returns:
        a new Recorder metric with the given name, tags, and hints
      • createRecorder

        public abstract Recorder createRecorder​(java.lang.String name,
                                                java.util.Map<java.lang.String,​java.lang.String> tags,
                                                java.util.Set<java.lang.String> hints)
        Create a new Recorder metric with tags and hints (for Java).

        Parameters:
        name - the name of the Recorder metric
        tags - the tags (Java Map) for the Recorder metric
        hints - the hints (Java Set) for the Recorder metric
        Returns:
        a new Recorder metric with the given name, tags, and hints
      • createRecorder

        public abstract Recorder createRecorder​(Descriptor descriptor)
        Create a new Recorder metric with full Descriptor.

        Parameters:
        descriptor - the descriptor for the Recorder metric
        Returns:
        a new Recorder metric based on the given descriptor
      • createTimer

        public abstract Timer createTimer​(java.lang.String name)
        Create a new Timer metric.

        Parameters:
        name - the name of the Timer metric
        Returns:
        a new Timer metric with the given name
      • createTimer

        public abstract Timer createTimer​(java.lang.String name,
                                          scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags)
        Create a new Timer metric with tags (for Scala).

        Parameters:
        name - the name of the Timer metric
        tags - the tags (Scala Map) for the Timer metric
        Returns:
        a new Timer metric with the given name and tags
      • createTimer

        public abstract Timer createTimer​(java.lang.String name,
                                          java.util.Map<java.lang.String,​java.lang.String> tags)
        Create a new Timer metric with tags (for Java).

        Parameters:
        name - the name of the Timer metric
        tags - the tags (Java Map) for the Timer metric
        Returns:
        a new Timer metric with the given name and tags
      • createTimer

        public abstract Timer createTimer​(java.lang.String name,
                                          scala.collection.immutable.Set<java.lang.String> hints)
        Create a new Timer metric with hints (for Scala).

        Parameters:
        name - the name of the Timer metric
        hints - the hints (Scala Set) for the Timer metric
        Returns:
        a new Timer metric with the given name and hints
      • createTimer

        public abstract Timer createTimer​(java.lang.String name,
                                          java.util.Set<java.lang.String> hints)
        Create a new Timer metric with hints (for Java).

        Parameters:
        name - the name of the Timer metric
        hints - the hints (Java Set) for the Timer metric
        Returns:
        a new Timer metric with the given name and hints
      • createTimer

        public abstract Timer createTimer​(java.lang.String name,
                                          scala.collection.immutable.Map<java.lang.String,​java.lang.String> tags,
                                          scala.collection.immutable.Set<java.lang.String> hints)
        Create a new Timer metric with tags and hints (for Scala).

        Parameters:
        name - the name of the Timer metric
        tags - the tags (Scala Map) for the Timer metric
        hints - the hints (Scala Set) for the Timer metric
        Returns:
        a new Timer metric with the given name, tags, and hints
      • createTimer

        public abstract Timer createTimer​(java.lang.String name,
                                          java.util.Map<java.lang.String,​java.lang.String> tags,
                                          java.util.Set<java.lang.String> hints)
        Create a new Timer metric with tags and hints (for Java).

        Parameters:
        name - the name of the Timer metric
        tags - the tags (Java Map) for the Timer metric
        hints - the hints (Java Set) for the Timer metric
        Returns:
        a new Timer metric with the given name, tags, and hints
      • createTimer

        public abstract Timer createTimer​(Descriptor descriptor)
        Create a new Timer metric with full Descriptor.

        Parameters:
        descriptor - the descriptor for the Timer metric
        Returns:
        a new Timer metric based on the given descriptor