...
By default, all metrics include the
component
tag with the name of the application and thehostname
tag with the domain name of the IP address where the service is running. Additionally, anenv
tag with the name of the environment will be included if the value is set on theENV_NAME
environment variable
Annotation-based metrics
Any method in any bean can be measured with:
...