Tim Wojtulewicz
2680bac480
Remove unnecessary shared_from_this on instrument classes
2024-06-04 14:14:58 -07:00
Tim Wojtulewicz
52e6314f0e
Add type aliases for instrument and family shared_ptrs
2024-05-31 13:36:37 -07:00
Tim Wojtulewicz
46ff48c29a
Change all instruments to only handle doubles
2024-05-31 13:36:37 -07:00
Tim Wojtulewicz
178103d2ee
Change all prometheus #includes to use angle brackets
2024-05-31 13:36:37 -07:00
Tim Wojtulewicz
d0d41f5c56
Avoid calling Collect() in counter/gauge Value() methods if not needed
2024-05-31 13:30:31 -07:00
Tim Wojtulewicz
84aa308527
Rework everything to access the prometheus-cpp objects more directly
2024-05-31 13:30:31 -07:00
Tim Wojtulewicz
1cad305e58
Add support for callbacks for gauges/counters, restore process stat metrics
2024-05-31 13:30:31 -07:00
Tim Wojtulewicz
abb84db6c8
Don't include endpoint label/value when collecting metrics internally
2024-05-31 13:30:31 -07:00
Tim Wojtulewicz
4718e5cf00
Remove everything related to aggregation
2024-05-31 13:30:31 -07:00
Tim Wojtulewicz
a0ae06b3cd
Convert telemetry code to use prometheus-cpp
2024-05-31 13:30:31 -07:00
Benjamin Bannier
f5a76c1aed
Reformat Zeek in Spicy style
...
This largely copies over Spicy's `.clang-format` configuration file. The
one place where we deviate is header include order since Zeek depends on
headers being included in a certain order.
2023-10-30 09:40:55 +01:00
Elad Solomon
3a80b79497
Compile Zeek with MSVC
...
Allow Zeek to be embedded in another project
2022-11-09 18:15:30 +02:00
Dominik Charousset
56f30b500a
Update to latest Broker without public CAF dep
2021-12-20 08:16:21 +01:00
Tim Wojtulewicz
b2f171ec69
Reformat the world
2021-09-16 15:35:39 -07:00
Dominik Charousset
2bac354e43
Expose telemetry API to scripting land
2021-03-29 10:47:32 +02:00
Dominik Charousset
0b665ee130
Move duplicated code to detail header
2021-03-29 10:47:32 +02:00
Dominik Charousset
2a21f2903a
Adhere to Zeek coding style
2021-03-29 10:47:32 +02:00
Dominik Charousset
83d7d2da4c
Add missing whitespaces for Zeek coding style
2021-03-29 10:47:32 +02:00
Dominik Charousset
617e4137c6
Add scaffold for new metrics API with counters
2021-03-29 10:47:32 +02:00