Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
202 views
in Technique[技术] by (71.8m points)

What is the unit of Reactor Publisher Timer metrics?

I am publishing reactor metrics as described in https://projectreactor.io/docs/core/release/reference/#_publisher_metrics.

What is the unit of the [name].flow.duration Timer metric? Is it nano secs? milli secs?. Is there a way to configure it?

question from:https://stackoverflow.com/questions/65928299/what-is-the-unit-of-reactor-publisher-timer-metrics

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

these timers are published in the default unit of Micrometer, nanoseconds. There is currently no way of configuring it, but most metrics backend should be able to perform conversions IIRC


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...