Package com.lightbend.cinnamon.akka
Class CinnamonMetricsFactory
- java.lang.Object
-
- com.lightbend.cinnamon.akka.CinnamonMetricsFactory
-
- Direct Known Subclasses:
CinnamonMetrics
public abstract class CinnamonMetricsFactory extends java.lang.ObjectCinnamon metrics API for custom metrics.
-
-
Constructor Summary
Constructors Constructor Description CinnamonMetricsFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract CountercreateCounter(Descriptor descriptor)Create a new Counter metric with full Descriptor.abstract CountercreateCounter(java.lang.String name)Create a new Counter metric.abstract CountercreateCounter(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags)Create a new Counter metric with tags (for Java).abstract CountercreateCounter(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 CountercreateCounter(java.lang.String name, java.util.Set<java.lang.String> hints)Create a new Counter metric with hints (for Java).abstract CountercreateCounter(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 CountercreateCounter(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 CountercreateCounter(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)Create a new Counter metric with hints (for Scala).abstract GaugeDoublecreateGaugeDouble(Descriptor descriptor)Create a new GaugeDouble metric with full Descriptor.abstract GaugeDoublecreateGaugeDouble(java.lang.String name)Create a new GaugeDouble metric.abstract GaugeDoublecreateGaugeDouble(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags)Create a new GaugeDouble metric with tags (for Java).abstract GaugeDoublecreateGaugeDouble(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 GaugeDoublecreateGaugeDouble(java.lang.String name, java.util.Set<java.lang.String> hints)Create a new GaugeDouble metric with hints (for Java).abstract GaugeDoublecreateGaugeDouble(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 GaugeDoublecreateGaugeDouble(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 GaugeDoublecreateGaugeDouble(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)Create a new GaugeDouble metric with hints (for Scala).abstract GaugeLongcreateGaugeLong(Descriptor descriptor)Create a new GaugeLong metric with full Descriptor.abstract GaugeLongcreateGaugeLong(java.lang.String name)Create a new GaugeLong metric.abstract GaugeLongcreateGaugeLong(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags)Create a new GaugeLong metric with tags (for Java).abstract GaugeLongcreateGaugeLong(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 GaugeLongcreateGaugeLong(java.lang.String name, java.util.Set<java.lang.String> hints)Create a new GaugeLong metric with hints (for Java).abstract GaugeLongcreateGaugeLong(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 GaugeLongcreateGaugeLong(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 GaugeLongcreateGaugeLong(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)Create a new GaugeLong metric with hints (for Scala).abstract ProvidingGaugeDoublecreateProvidingGaugeDouble(Descriptor descriptor, DoubleValueProvider valueProvider)Create a new ProvidingGaugeDouble metric with full Descriptor.abstract ProvidingGaugeDoublecreateProvidingGaugeDouble(java.lang.String name, DoubleValueProvider valueProvider)Create a new ProvidingGaugeDouble metric.abstract ProvidingGaugeDoublecreateProvidingGaugeDouble(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 ProvidingGaugeDoublecreateProvidingGaugeDouble(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 ProvidingGaugeDoublecreateProvidingGaugeDouble(java.lang.String name, DoubleValueProvider valueProvider, java.util.Set<java.lang.String> hints)Create a new ProvidingGaugeDouble metric with hints (for Java).abstract ProvidingGaugeDoublecreateProvidingGaugeDouble(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 ProvidingGaugeDoublecreateProvidingGaugeDouble(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 ProvidingGaugeDoublecreateProvidingGaugeDouble(java.lang.String name, DoubleValueProvider valueProvider, scala.collection.immutable.Set<java.lang.String> hints)Create a new ProvidingGaugeDouble metric with hints (for Scala).abstract ProvidingGaugeLongcreateProvidingGaugeLong(Descriptor descriptor, LongValueProvider valueProvider)Create a new ProvidingGaugeLong metric with full Descriptor.abstract ProvidingGaugeLongcreateProvidingGaugeLong(java.lang.String name, LongValueProvider valueProvider)Create a new ProvidingGaugeLong metric.abstract ProvidingGaugeLongcreateProvidingGaugeLong(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 ProvidingGaugeLongcreateProvidingGaugeLong(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 ProvidingGaugeLongcreateProvidingGaugeLong(java.lang.String name, LongValueProvider valueProvider, java.util.Set<java.lang.String> hints)Create a new ProvidingGaugeLong metric with hints (for Java).abstract ProvidingGaugeLongcreateProvidingGaugeLong(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 ProvidingGaugeLongcreateProvidingGaugeLong(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 ProvidingGaugeLongcreateProvidingGaugeLong(java.lang.String name, LongValueProvider valueProvider, scala.collection.immutable.Set<java.lang.String> hints)Create a new ProvidingGaugeLong metric with hints (for Scala).abstract RatecreateRate(Descriptor descriptor)Create a new Rate metric with full Descriptor.abstract RatecreateRate(java.lang.String name)Create a new Rate metric.abstract RatecreateRate(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags)Create a new Rate metric with tags (for Java).abstract RatecreateRate(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 RatecreateRate(java.lang.String name, java.util.Set<java.lang.String> hints)Create a new Rate metric with hints (for Java).abstract RatecreateRate(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 RatecreateRate(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 RatecreateRate(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)Create a new Rate metric with hints (for Scala).abstract RecordercreateRecorder(Descriptor descriptor)Create a new Recorder metric with full Descriptor.abstract RecordercreateRecorder(java.lang.String name)Create a new Recorder metric.abstract RecordercreateRecorder(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags)Create a new Recorder metric with tags (for Java).abstract RecordercreateRecorder(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 RecordercreateRecorder(java.lang.String name, java.util.Set<java.lang.String> hints)Create a new Recorder metric with hints (for Java).abstract RecordercreateRecorder(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 RecordercreateRecorder(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 RecordercreateRecorder(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)Create a new Recorder metric with hints (for Scala).abstract TimercreateTimer(Descriptor descriptor)Create a new Timer metric with full Descriptor.abstract TimercreateTimer(java.lang.String name)Create a new Timer metric.abstract TimercreateTimer(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags)Create a new Timer metric with tags (for Java).abstract TimercreateTimer(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 TimercreateTimer(java.lang.String name, java.util.Set<java.lang.String> hints)Create a new Timer metric with hints (for Java).abstract TimercreateTimer(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 TimercreateTimer(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 TimercreateTimer(java.lang.String name, scala.collection.immutable.Set<java.lang.String> hints)Create a new Timer metric with hints (for Scala).
-
-
-
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 metrictags- 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 metrictags- 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 metrichints- 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 metrichints- 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 metrictags- the tags (Scala Map) for the Counter metrichints- 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 metrictags- the tags (Java Map) for the Counter metrichints- 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 metrictags- 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 metrictags- 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 metrichints- 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 metrichints- 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 metrictags- the tags (Scala Map) for the GaugeDouble metrichints- 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 metrictags- the tags (Java Map) for the GaugeDouble metrichints- 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 metrictags- 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 metrictags- 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 metrichints- 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 metrichints- 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 metrictags- the tags (Scala Map) for the GaugeLong metrichints- 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 metrictags- the tags (Java Map) for the GaugeLong metrichints- 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 metricvalueProvider- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeDoubletags- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeDoubletags- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeDoublehints- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeDoublehints- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeDoubletags- the tags (Scala Map) for the ProvidingGaugeDouble metrichints- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeDoubletags- the tags (Java Map) for the ProvidingGaugeDouble metrichints- 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 metricvalueProvider- 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 metricvalueProvider- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeLongtags- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeLongtags- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeLonghints- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeLonghints- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeLongtags- the tags (Scala Map) for the ProvidingGaugeLong metrichints- 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 metricvalueProvider- the value provider to call for this ProvidingGaugeLongtags- the tags (Java Map) for the ProvidingGaugeLong metrichints- 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 metricvalueProvider- 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 metrictags- 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 metrictags- 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 metrichints- 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 metrichints- 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 metrictags- the tags (Scala Map) for the Rate metrichints- 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 metrictags- the tags (Java Map) for the Rate metrichints- 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 metrictags- 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 metrictags- 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 metrichints- 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 metrichints- 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 metrictags- the tags (Scala Map) for the Recorder metrichints- 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 metrictags- the tags (Java Map) for the Recorder metrichints- 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 metrictags- 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 metrictags- 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 metrichints- 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 metrichints- 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 metrictags- the tags (Scala Map) for the Timer metrichints- 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 metrictags- the tags (Java Map) for the Timer metrichints- 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
-
-