public Search name(String exactName)
exactName - Name to match against.public Search name(@Nullable Predicate<String> nameMatches)
nameMatches - Name matching predicate.public Search tags(Iterable<Tag> tags)
tags - The tags to match.public Search tags(String... tags)
tags - Must be an even number of arguments representing key/value pairs of tags.public Search tag(String tagKey, String tagValue)
tagKey - The tag key to match.tagValue - The tag value to match.public Search tagKeys(String... tagKeys)
tagKeys - The tag keys to match.@Nullable public Counter counter()
Counter, or null if none match.@Nullable public FunctionCounter functionCounter()
FunctionCounter, or null if none match.@Nullable public TimeGauge timeGauge()
TimeGauge, or null if none match.@Nullable public FunctionTimer functionTimer()
FunctionTimer, or null if none match.@Nullable public DistributionSummary summary()
DistributionSummary, or null if none match.@Nullable public LongTaskTimer longTaskTimer()
LongTaskTimer, or null if none match.public Collection<Meter> meters()
public Collection<Counter> counters()
Counter meters.public Collection<Gauge> gauges()
Gauge meters.public Collection<Timer> timers()
Timer meters.public Collection<DistributionSummary> summaries()
DistributionSummary meters.public Collection<LongTaskTimer> longTaskTimers()
LongTaskTimer meters.public Collection<FunctionCounter> functionCounters()
FunctionCounter meters.public Collection<FunctionTimer> functionTimers()
FunctionTimer meters.public Collection<TimeGauge> timeGauges()
TimeGauge meters.public static Search in(MeterRegistry registry)
registry - The registry to locate meters in.Copyright © 2020 LeanCloud. All rights reserved.