public abstract class StepSpectatorMeterRegistry extends SpectatorMeterRegistry
MeterRegistry.Config, MeterRegistry.More, MeterRegistry.Search
clock
Constructor and Description |
---|
StepSpectatorMeterRegistry(StepRegistryConfig config,
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, toSpectatorTags
config, counter, createId, find, gauge, getConventionName, getConventionTags, getMeters, more, summary, timer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
counter, counter, createId, gauge, gauge, gauge, gauge, gaugeCollectionSize, gaugeMapSize, summary, summary, timer, timer
public StepSpectatorMeterRegistry(StepRegistryConfig config, com.netflix.spectator.api.Registry registry, Clock clock, long stepMillis)
public Meter register(Meter.Id id, Meter.Type type, java.lang.Iterable<Measurement> measurements)
MeterRegistry
register
in interface MeterRegistry
register
in class AbstractMeterRegistry
id
- 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.