50.11 Message channel integration
If a MessageChannel
bean called metricsChannel
exists, then a MetricWriter
will be created that writes metrics to that channel. The writer is automatically hooked up to an exporter (as for all writers), so all metric values will appear on the channel, and additional analysis or actions can be taken by subscribers (it’s up to you to provide the channel and any subscribers you need).