* origin/topic/timw/telemetry-follow-up:
Switch to zeek fork of prometheus-cpp
Remove unnecessary shared_from_this on instrument classes
Restore label_names field in MetricOpts record
Change how we count FDs on Linux to fix zeekctl stop issues
Update zeekctl tests for telemetry rework
Use forward declarations of prometheus-cpp types in telemetry::Manager
Add prometheus-cpp files to install set for plugins to use
Fix a memory leak with the CivetWeb callbacks in telemetry
Fix a bunch of copy-instead-of-move findings from Coverity
Move telmetry label names out of opts records, into main metric records
Ensure the order of label values matches the label names
Remove prefix column from telemetry.log
Fix race condition by pre-building the cluster json data for services.json
Set running_under_test for scripts.base.frameworks.logging.telemetry test
* origin/topic/vern/script-opt-maint.Jun24:
script optimization baseline tweaks due to recent minor changes
updated list of BiFs for script optimization
addressed some Coverity nits
improved error cascade for invalid attributes
* topic/timw/prometheus-cpp-3: (35 commits)
Update docs submodule [nomail] [skip ci]
Add type aliases for instrument and family shared_ptrs
Update NEWS for double and is_sum changes
Remove is_sum arguments from counters and gauges
Change all instruments to only handle doubles
Add comment to telemetry::Manager::InitPostScript
Remove all of the ZEEK_METRICS_ environment variables
Fix header comments in scripts/policy/frameworks/telemetry/prometheus.zeek
Change all prometheus #includes to use angle brackets
Update zeekctl submodule for metrics_port node.cfg option
Regenerate docs [nomail]
Remove the is_sum argument from BIF histogram creation methods
Update NEWS for Telemetry rework
Remove Telemetry::metrics_export_prefixes option
Validate that label names are constant in non-zeek metrics
Avoid calling Collect() in counter/gauge Value() methods if not needed
Fix some determinism issues with btests
Temporarily disable the scripts/base/frameworks/telemetry/internal-metrics btest
Fix the scripts.policy.frameworks.telemetry.prometheus btest to use the service discovery endpoint
Btest updates due to recent changes
...
* topic/christian/analyzer-lookup-bifs:
More precise error reporting for the disable_analyzer() BiF
Add btests for the lookup_connection_analyzer_id() BiF.
Add BiF for looking up a connection's numeric protocol analyzer IDs
* origin/topic/vern/add-del-expr:
removing now-vestigial "add" and "delete" statements
script optimization support for "add" and "delete" being expressions
"add" and "delete" are now expressions rather than statements
bug fix for dealing with illegal types of initializers
added a space when rendering some expressions so they're more readable
* origin/topic/timw/fix-coverage-part-deux:
CI: Remove --enable-werror for asan builds
CI: Run coverage builds for PRs, but only upload on master
Coverage: Ignore a few errors during generation
Coverage: don't bother ignoring non-existent bro.dir files
CI: Re-enable coverage
CI: Switch asan build back to gcc
Update cmake submodule [nomail]
CI: Avoid divide by zero error when generating coverage files
* origin/topic/robin/gh-3561-forward-to-udp:
Update docs.
Add explicit children life-cycle management method to analyzers.
Spicy: Support UDP in Spicy's `protocol_*` runtime functions.
Add method to analyzer to retrieve direct child by name.
Extend PIA's `FirstPacket` API.
Spicy: Prepare for supporting forwarding to protocols other than TCP.
* origin/topic/christian/fix-zeekygen-crash:
Avoid segfault when generating Zeekygen docs on Zeek-internal identifiers.
Add btest for Zeekygen docs extraction on identifiers defined by the Zeek core.
* origin/topic/vern/script-opt.May24:
factored BTest constants into globals to prevent premature ZAM optimization when testing
addressed minor issues flagged by Coverity
* origin/topic/vern/ZAM-perf.Apr24: (27 commits)
BTest updates for changes due to use of ZAM BiF replacements
rewrite of ZAM optimization of BiFs and script functions/idioms
flag base script as being known to ZAM optimization
ZAM optimization for constructing records w/ fields initialized to network_time
factor some functionality used by BiFs to make accessible to ZAM instructions
factor script optimization Expr AST nodes out of main AST header
new internal AST node for expression idioms with corresponding ZAM built-ins
streamlining of expressions only used for script optimization
reordering of expressions to match main usage vs. script-optimization extras
support for conditional expressions transforming into interal has-elements expr
make same_expr() functionality accessible as a utility
unify functionality across EqExpr and RelExpr classes
introduce notions of script functions/BiFs that are (1) foldable, (2) replaceable
optimization of scripting idioms - min/max, has-elements
hooks for ZAM optimization of calls to particular functions
shift ZAM maintenance monitoring of new BiFs to a BTest so it automatically runs
make externally available the expression used for initializating a record field
record field initialization optimization: do coercions at compile-time if applicable
$ZAM_PROFILE_ALL set tells ZAM to profile function bodies even if not executed
performance speed-up for SMB base scripts
...
* topic/christian/localversion:
Parse and store localversion string
Remove commented-out code
Check ZEEK_VERSION_LOCAL for dashes
Update version string btests for localversion
Modify version parsing for localversion
Update version used by spicyz
Update build script
Support for configurable localversion