io.micrometer.core.instrument.noop.NoopLongTaskTimer Java Examples
The following examples show how to use
io.micrometer.core.instrument.noop.NoopLongTaskTimer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MeterRegistry.java From micrometer with Apache License 2.0 | 5 votes |
/** * Only used by {@link LongTaskTimer#builder(String)}. * * @param id The identifier for this long task timer. * @return A new or existing long task timer. */ LongTaskTimer longTaskTimer(Meter.Id id, DistributionStatisticConfig distributionStatisticConfig) { return registerMeterIfNecessary(LongTaskTimer.class, id, distributionStatisticConfig, (id2, filteredConfig) -> { Meter.Id withUnit = id2.withBaseUnit(getBaseTimeUnitStr()); return newLongTaskTimer(withUnit, filteredConfig.merge(defaultHistogramConfig())); }, NoopLongTaskTimer::new); }
Example #2
Source File: CompositeLongTaskTimer.java From micrometer with Apache License 2.0 | 4 votes |
@Override LongTaskTimer newNoopMeter() { return new NoopLongTaskTimer(getId()); }
Example #3
Source File: NoopMeterRegistry.java From dolphin-platform with Apache License 2.0 | 4 votes |
@Override protected LongTaskTimer newLongTaskTimer(final Meter.Id id) { return new NoopLongTaskTimer(id); }
Example #4
Source File: NoopMeterRegistry.java From armeria with Apache License 2.0 | 4 votes |
@Override protected LongTaskTimer newLongTaskTimer(Id id) { return new NoopLongTaskTimer(id); }