Fix typo in metric name

This commit is contained in:
travisladuke 2024-02-01 12:10:30 -08:00 committed by Travis LaDuke
parent 0ca8ae7970
commit f027d8f519

View File

@ -196,7 +196,7 @@ bool DB::get(const uint64_t networkId,nlohmann::json &network,std::vector<nlohma
void DB::networks(std::set<uint64_t> &networks)
{
waitForReady();
Metrics::db_get_member_list++;
Metrics::db_get_network_list++;
std::shared_lock<std::shared_mutex> l(_networks_l);
for(auto n=_networks.begin();n!=_networks.end();++n)
networks.insert(n->first);