mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Change all instruments to only handle doubles
This commit is contained in:
parent
6eab954fd2
commit
46ff48c29a
35 changed files with 635 additions and 1148 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue