HI,
Have below properties in application.properties file.
#change prometheus endpoint to metrics
endpoints.prometheus.id=metrics
#change actuator endpoint to springmetrics
endpoints.metrics.id=springmetrics
endpoints.metrics.sensitive=false
endpoints.metrics.enabled=true
Now /metrics will show prometheus stats and /springmetrics will show actuator stats