Package io.temporal.common.reporter
Class MicrometerClientStatsReporter
- java.lang.Object
-
- io.temporal.common.reporter.MicrometerClientStatsReporter
-
- All Implemented Interfaces:
com.uber.m3.tally.BaseStatsReporter
,com.uber.m3.tally.StatsReporter
public class MicrometerClientStatsReporter extends java.lang.Object implements com.uber.m3.tally.StatsReporter
-
-
Constructor Summary
Constructors Constructor Description MicrometerClientStatsReporter(io.micrometer.core.instrument.MeterRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.uber.m3.tally.Capabilities
capabilities()
void
close()
void
flush()
void
reportCounter(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags, long value)
void
reportGauge(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags, double value)
void
reportHistogramDurationSamples(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags, com.uber.m3.tally.Buckets buckets, com.uber.m3.util.Duration bucketLowerBound, com.uber.m3.util.Duration bucketUpperBound, long samples)
void
reportHistogramValueSamples(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags, com.uber.m3.tally.Buckets buckets, double bucketLowerBound, double bucketUpperBound, long samples)
void
reportTimer(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags, com.uber.m3.util.Duration interval)
-
-
-
Method Detail
-
capabilities
public com.uber.m3.tally.Capabilities capabilities()
- Specified by:
capabilities
in interfacecom.uber.m3.tally.BaseStatsReporter
-
flush
public void flush()
- Specified by:
flush
in interfacecom.uber.m3.tally.BaseStatsReporter
-
close
public void close()
- Specified by:
close
in interfacecom.uber.m3.tally.BaseStatsReporter
-
reportCounter
public void reportCounter(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags, long value)
- Specified by:
reportCounter
in interfacecom.uber.m3.tally.StatsReporter
-
reportGauge
public void reportGauge(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags, double value)
- Specified by:
reportGauge
in interfacecom.uber.m3.tally.StatsReporter
-
reportTimer
public void reportTimer(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags, com.uber.m3.util.Duration interval)
- Specified by:
reportTimer
in interfacecom.uber.m3.tally.StatsReporter
-
reportHistogramValueSamples
public void reportHistogramValueSamples(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags, com.uber.m3.tally.Buckets buckets, double bucketLowerBound, double bucketUpperBound, long samples)
- Specified by:
reportHistogramValueSamples
in interfacecom.uber.m3.tally.StatsReporter
-
reportHistogramDurationSamples
public void reportHistogramDurationSamples(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags, com.uber.m3.tally.Buckets buckets, com.uber.m3.util.Duration bucketLowerBound, com.uber.m3.util.Duration bucketUpperBound, long samples)
- Specified by:
reportHistogramDurationSamples
in interfacecom.uber.m3.tally.StatsReporter
-
-