public abstract class StepSpectatorMeterRegistry extends SpectatorMeterRegistry
MeterRegistry.Config, MeterRegistry.More, MeterRegistry.Searchclock| Constructor and Description |
|---|
StepSpectatorMeterRegistry(com.netflix.spectator.api.Registry registry,
Clock clock,
long stepMillis) |
| Modifier and Type | Method and Description |
|---|---|
Meter |
register(Meter.Id id,
Meter.Type type,
java.lang.Iterable<Measurement> measurements)
Register a custom meter type.
|
getSpectatorRegistry, newCounter, newDistributionSummary, newGauge, newLongTaskTimer, newMeter, newTimeGauge, newTimer, registerHistogramCounterIfNecessary, registerQuantilesGaugeIfNecessary, toSpectatorTagsconfig, counter, createId, find, gauge, getMeters, more, summary, timerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcounter, counter, createId, gauge, gauge, gauge, gauge, gaugeCollectionSize, gaugeMapSize, summary, summary, timer, timerpublic StepSpectatorMeterRegistry(com.netflix.spectator.api.Registry registry,
Clock clock,
long stepMillis)
public Meter register(Meter.Id id, Meter.Type type, java.lang.Iterable<Measurement> measurements)
MeterRegistryregister in interface MeterRegistryregister in class AbstractMeterRegistryid - Id of the meter being registered.type - Meter type, which may be used by naming conventions to normalize the name.measurements - A sequence of measurements describing how to sample the meter.