This blog post "Micrometer: Spring Boot 2's new application metrics collector", mentions "The importance of dimensionality".
However, it doesn't include a sufficient example of how the associated tags can be set within a Spring Boot application.
Right now, I'm using Spring Boot 2's Micrometer interface to provide Prometheus-ready output without having done any Java-based configuration. Does setting, for example, a "host" tag require me to write some code? What would that look like?
Here's my entire configuration:
management:
metrics:
export:
prometheus:
enabled: true
endpoints:
web:
exposure:
include: info,health,metrics,prometheus