mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Remove everything related to aggregation
This commit is contained in:
parent
643bb38419
commit
4718e5cf00
11 changed files with 60 additions and 166 deletions
|
@ -7,38 +7,16 @@ module Telemetry;
|
|||
|
||||
export {
|
||||
## Port used to make metric data available to Prometheus scrapers via
|
||||
## HTTP. Zeek overrides any value provided in zeek_init or earlier at
|
||||
## HTTP. Zeek overrides any value provided in zeek_init or earlier at
|
||||
## startup if the environment variable ZEEK_METRICS_PORT is defined.
|
||||
const metrics_port = 0/unknown &redef;
|
||||
|
||||
## Frequency for publishing scraped metrics to the target topic. Zeek
|
||||
## ID for the metrics exporter. This is used as the 'endpoint' label
|
||||
## value when exporting data to Prometheus. In a cluster setup, this
|
||||
## defaults to the name of the node in the cluster configuration. Zeek
|
||||
## overrides any value provided in zeek_init or earlier at startup if
|
||||
## the environment variable ZEEK_METRICS_EXPORT_INTERVAL is defined.
|
||||
const metrics_export_interval = 1 sec &redef;
|
||||
|
||||
## Target topic for the metrics. Setting a non-empty string starts the
|
||||
## periodic publishing of local metrics. Zeek overrides any value
|
||||
## provided in zeek_init or earlier at startup if the environment
|
||||
## variable ZEEK_METRICS_EXPORT_TOPIC is defined.
|
||||
const metrics_export_topic = "" &redef;
|
||||
|
||||
## Topics for the telmeetry framework for collecting metrics from other
|
||||
## peers in the network and including them in the output. Has no effect
|
||||
## when not exporting the metrics to Prometheus.
|
||||
##
|
||||
## Zeek overrides any value provided in zeek_init or earlier at startup
|
||||
## if the environment variable ZEEK_METRICS_IMPORT_TOPICS is defined.
|
||||
const metrics_import_topics: vector of string = vector() &redef;
|
||||
|
||||
## ID for the metrics exporter. When setting a target topic for the
|
||||
## exporter, Broker sets this option to the suffix of the new topic
|
||||
## *unless* the ID is a non-empty string. Since setting a topic starts
|
||||
## the periodic publishing of events, we recommend setting the ID always
|
||||
## first or avoid setting it at all if the topic suffix serves as a
|
||||
## good-enough ID. Zeek overrides any value provided in zeek_init or
|
||||
## earlier at startup if the environment variable
|
||||
## ZEEK_METRICS_ENDPOINT_NAME is defined.
|
||||
const metrics_export_endpoint_name = "" &redef;
|
||||
## the environment variable ZEEK_METRICS_ENDPOINT_NAME is defined.
|
||||
const metrics_endpoint_name = "" &redef;
|
||||
|
||||
## Selects prefixes from the local metrics. Only metrics with prefixes
|
||||
## listed in this variable are included when publishing local metrics.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue