mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add Telemetry::metrics_address option
This commit is contained in:
parent
322d223c18
commit
d549e3d56a
2 changed files with 8 additions and 2 deletions
|
@ -6,6 +6,10 @@ module Telemetry;
|
|||
# to see the options without needing the rest.
|
||||
|
||||
export {
|
||||
## Address used to make metric data available to Prometheus scrapers via
|
||||
## HTTP.
|
||||
const metrics_address = getenv("ZEEK_DEFAULT_LISTEN_ADDRESS") &redef;
|
||||
|
||||
## Port used to make metric data available to Prometheus scrapers via
|
||||
## HTTP.
|
||||
const metrics_port = 0/unknown &redef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue