code example for https://dkublik.github.io/2018/08/26/springboot-metrics-with-micrometer-and-aws-cloudwatch.html
-
Java 8
-
Gradle 4.8.1
import to your favorite IDE and lunch M3trics2Application.java or from command line: gradlew bootRun
Need to be run in AWS or AWS credentials should be provided.