Change all instruments to only handle doubles

This commit is contained in:
Tim Wojtulewicz 2024-05-24 14:51:19 -07:00
parent 6eab954fd2
commit 46ff48c29a
35 changed files with 635 additions and 1148 deletions

View file

@ -17,7 +17,7 @@ extern double network_time;
} // namespace run_state
namespace telemetry {
class IntCounter;
class Counter;
}
class Func;
@ -78,7 +78,7 @@ private:
bool generate_always;
// Initialize this lazy, so we don't expose metrics for 0 values.
std::shared_ptr<zeek::telemetry::IntCounter> call_count;
std::shared_ptr<zeek::telemetry::Counter> call_count;
std::unordered_set<std::string> auto_publish;
};