mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/telemetry-endpoint-to-node-rename'
* origin/topic/awelzel/telemetry-endpoint-to-node-rename: telemetry: Rename endpoint label to node label
This commit is contained in:
commit
4b472f2771
9 changed files with 52 additions and 20 deletions
11
NEWS
11
NEWS
|
@ -36,6 +36,17 @@ Breaking Changes
|
|||
|
||||
redef LogAscii::json_timestamps = JSON::TS_MILLIS_UNSIGNED;
|
||||
|
||||
- The "endpoint" label of metrics exposed via Prometheus or the ``telemetry.log``
|
||||
was renamed to "node". This is done for consistency with cluster terminology:
|
||||
The label values have always been the value of ``Cluster::node`, so it's more intuitive
|
||||
to call it. The "endpoint" name originated from a time when the telemetry framework
|
||||
was implemented in Broker.
|
||||
|
||||
To revert to the "endpoint" label, you can do the following, but we strongly
|
||||
suggest to migrate to the new default "node" instead:
|
||||
|
||||
redef Telemetry::metrics_endpoint_label = "endpoint";
|
||||
|
||||
- The ``current_event_time()`` builtin function as well as ``Event::Time()``
|
||||
and ``EventMgr::CurrentEventTime()`` now return ``-1.0`` if no timestamp
|
||||
metadata is available for the current event, or if no event is being
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue