At the moment on my endpoint /actuator/prometheus I receive answer for timer like this:
...
# HELP MY_NAME_seconds
# TYPE MY_NAME_seconds summary
MY_NAME_seconds_count{application="MyApplication",smth="else",} 520.0
MY_NAME_seconds_sum{application="MyApplication",smth="else",} 1249.024
# HELP MY_NAME_seconds_max
# TYPE MY_NAME_seconds_max gauge
...
I'm creating my timer like this: Metrics.timer(operation, tags).record(endTime - startTime, TimeUnit.MILLISECONDS);
Is it possible to change naming from MY_NAME_seconds_count to MY_NAME_millis_count?