Java Micrometer example with Prometheus
http://localhost:8080/prometheus
# HELP counter_total
# TYPE counter_total counter
counter_total{counter="mycounter",} 1001.0
max_over_time(counter_total[5m])
max_over_time(rate(counter_total[1m])[5m:])
increase(counter_total[5m])