spring boot shows all possible metrics at the endpoint /metrics
. on the other hand, internally it uses exporter metrics. for example, when you add dropwizard metrics (current de facto standard?), it is automatically registered, but not all spring-boot metrics are exported to dropwizard. in order to have more / all metrics, you need to manually register different metric sets. and it should be supported in parallel with what spring-boot does for the endpoint /metrics
.
so the question is: how should this be done correctly? should exporters of indicators be used and maintained for each of dozens of microservices, or should the Collection<PublicMetrics>
used by the endpoint /metrics
and supported by spring be used?
source share