Skip to content

Commit

Permalink
prometheus: remove active_calls with no dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
USA-RedDragon committed Nov 8, 2023
1 parent 1f77fa7 commit 4f6d609
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions prometheus_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ class Prometheus : public Plugin_Api

int calls_active(std::vector<Call *> calls) override
{
int num = calls.size();
std::string s = std::to_string(num);
this->active_calls->Add({}).Set(num);
std::map<std::string, int> callsPerSystem;

auto ret = 0;
Expand Down

0 comments on commit 4f6d609

Please sign in to comment.