Skip to content

Commit

Permalink
Fix typo in metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
laduke committed Feb 1, 2024
1 parent c6d5dc1 commit e200b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/DB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e200b6f

Please sign in to comment.