How to calculate the query per second from the existing metrics?

As per title, I check the export field document and seems like the "mongodb.collstats.queries.time.us" is the right one.
the problem I see is that since the metrics gathered are cumulative those values do not represent individual times, that's why my graph looks incremental

Do I need to do the dividing like below?

"mongodb.collstats.queries.time.us" / "mongodb.collstats.queries.count"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.