mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Expose telemetry API to scripting land
This commit is contained in:
parent
d4466db5ce
commit
2bac354e43
20 changed files with 887 additions and 11 deletions
|
@ -24,6 +24,8 @@ public:
|
|||
|
||||
struct Impl;
|
||||
|
||||
static inline const char* OpaqueName = "IntCounterMetricVal";
|
||||
|
||||
IntCounter() = delete;
|
||||
IntCounter(const IntCounter&) noexcept = default;
|
||||
IntCounter& operator=(const IntCounter&) noexcept = default;
|
||||
|
@ -91,6 +93,8 @@ public:
|
|||
|
||||
class Impl;
|
||||
|
||||
static inline const char* OpaqueName = "IntCounterMetricFamilyVal";
|
||||
|
||||
using InstanceType = IntCounter;
|
||||
|
||||
IntCounterFamily(const IntCounterFamily&) noexcept = default;
|
||||
|
@ -124,6 +128,8 @@ public:
|
|||
|
||||
struct Impl;
|
||||
|
||||
static inline const char* OpaqueName = "DblCounterMetricVal";
|
||||
|
||||
DblCounter() = delete;
|
||||
DblCounter(const DblCounter&) noexcept = default;
|
||||
DblCounter& operator=(const DblCounter&) noexcept = default;
|
||||
|
@ -185,6 +191,8 @@ public:
|
|||
|
||||
class Impl;
|
||||
|
||||
static inline const char* OpaqueName = "DblCounterMetricFamilyVal";
|
||||
|
||||
using InstanceType = DblCounter;
|
||||
|
||||
DblCounterFamily(const DblCounterFamily&) noexcept = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue