Class SampleBean
- java.lang.Object
- org.springframework.boot.docs.actuate.metrics.SampleBean
@Component public class SampleBean extends Object
Example to show manual usage ofMeterRegistry
.
Constructor Summary
Constructors Constructor Description SampleBean(io.micrometer.core.instrument.MeterRegistry registry)
Constructor Detail
SampleBean
public SampleBean(io.micrometer.core.instrument.MeterRegistry registry)
Method Detail
handleMessage
public void handleMessage(String message)