central controller metrics & request path updates (#2012)

* internal db metrics

* use shared mutexes for read/write locks

* remove this lock. only used for a metric

* more metrics

* remove exploratory metrics

place controller request benchmarks behind ifdef
This commit is contained in:
Grant Limberg
2023-05-23 12:11:26 -07:00
committed by GitHub
parent da71e2524c
commit 17f6b3a10b
10 changed files with 307 additions and 80 deletions

View File

@@ -117,7 +117,6 @@ public:
}
inline size_t size() const {
std::unique_lock<std::mutex> lock(m);
return q.size();
}