telemetry: Deprecate prometheus.zeek policy script

With Cluster::Node$metrics_port being optional, there's not really
a need for the extra script. New rule, if a metrics_port is set, the
node will attempt to listen on it.

Users can still redef Telemetry::metrics_port *after*
base/frameworks/telemetry was loaded to change the port defined
in cluster-layout.zeek.

(cherry picked from commit bf9704f339)
This commit is contained in:
Arne Welzel 2024-07-21 17:34:34 +02:00
parent d9dc121e9a
commit 8014c4b8c3
8 changed files with 27 additions and 28 deletions

View file

@ -55,7 +55,6 @@ done
@TEST-END-FILE
@load policy/frameworks/cluster/experimental
@load policy/frameworks/telemetry/prometheus
@load base/frameworks/telemetry
# So the cluster nodes don't terminate right away.