mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Update NEWS for double and is_sum changes
This commit is contained in:
parent
93717ca8f8
commit
bbc14cfff0
1 changed files with 12 additions and 0 deletions
12
NEWS
12
NEWS
|
@ -39,6 +39,18 @@ Breaking Changes
|
||||||
automatically populated by ``zeekctl`` during the ``install`` or ``deploy``
|
automatically populated by ``zeekctl`` during the ``install`` or ``deploy``
|
||||||
commands.
|
commands.
|
||||||
|
|
||||||
|
The instruments that previously supported ``count`` in scripts and ``int64_t``
|
||||||
|
in C++ were removed in favor of only providing ``double`` versions. Prometheus
|
||||||
|
only handles ``double`` underneath the Zeek code, so it makes sense to only
|
||||||
|
support it directly in Zeek as well. This also simplifies the code
|
||||||
|
significantly.
|
||||||
|
|
||||||
|
The ``is_sum`` argument has been removed from the constructors/creation
|
||||||
|
methods for all of the instruments. This again follows how Prometheus works,
|
||||||
|
where ``counter`` instruments are always considered sums and ``gauge``
|
||||||
|
instruments are not. ``Histogram`` instruments don't have the concept of
|
||||||
|
summing.
|
||||||
|
|
||||||
New Functionality
|
New Functionality
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue