You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #6837: feat(stats): add support for IPv6, introduce functional tests, deprecate -statsport
e607836 docs: add release notes (Kittywhiskers Van Gogh)
b50c7f2 stats: add functional test for statsd reporting (Kittywhiskers Van Gogh)
592aa04 stats: add support for URLs in `statshost`, deprecate `statsport` (Kittywhiskers Van Gogh)
3640071 stats: extend connection support to IPv6 (Kittywhiskers Van Gogh)
131d536 stats: use `bilingual_str` for RawSender error messages (Kittywhiskers Van Gogh)
fced9f6 stats: add stricter validation for arguments (Kittywhiskers Van Gogh)
8d7e74f stats: bubble errors up, halt init if stats client reports errors (Kittywhiskers Van Gogh)
1508f4a stats: use string_view for fixed values (Kittywhiskers Van Gogh)
9e9ee35 stats: move implementation to source file, define interface (Kittywhiskers Van Gogh)
Pull request description:
## Additional Information
* Support for URLs have been introduced for `statshost` and can be formatted as `udp://127.0.0.1:8125`. As `statshost` can also include the port, `statsport` has been deprecated and will be removed in a future release of Dash Core.
* Startup validation errors are no longer ignored and trigger an `InitError()`. Connection failure will **not** halt startup but lookup failure **will**, this is because `LookupHost()` is used to identify if the connection is IPv4/IPv6.
## Breaking Changes
See release notes.
## Checklist
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have added or updated relevant unit/integration/functional/e2e tests
- [x] I have made corresponding changes to the documentation
- [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
ACKs for top commit:
UdjinM6:
utACK e607836
Tree-SHA512: 69d0ed16bc0a23cc960dc9b550919677dd59dcff9fb5145ae1da9f99146b0e65d300044d9628f72ac058fab68b321b1dd04dfd3e80773bfcce72efd85a77d660
argsman.AddArg("-statsbatchsize=<bytes>", strprintf("Specify the size of each batch of stats messages (default: %d)", DEFAULT_STATSD_BATCH_SIZE), ArgsManager::ALLOW_ANY, OptionsCategory::STATSD);
784
784
argsman.AddArg("-statsduration=<ms>", strprintf("Specify the number of milliseconds between stats messages (default: %d)", DEFAULT_STATSD_DURATION), ArgsManager::ALLOW_ANY, OptionsCategory::STATSD);
argsman.AddArg("-statsport=<port>", strprintf("Specify statsd port (default: %u)", DEFAULT_STATSD_PORT), ArgsManager::ALLOW_ANY, OptionsCategory::STATSD);
786
+
hidden_args.emplace_back("-statsport");
787
787
argsman.AddArg("-statsperiod=<seconds>", strprintf("Specify the number of seconds between periodic measurements (default: %d)", DEFAULT_STATSD_PERIOD), ArgsManager::ALLOW_ANY, OptionsCategory::STATSD);
788
788
argsman.AddArg("-statsprefix=<string>", strprintf("Specify an optional string prepended to every stats key (default: %s)", DEFAULT_STATSD_PREFIX), ArgsManager::ALLOW_ANY, OptionsCategory::STATSD);
789
789
argsman.AddArg("-statssuffix=<string>", strprintf("Specify an optional string appended to every stats key (default: %s)", DEFAULT_STATSD_SUFFIX), ArgsManager::ALLOW_ANY, OptionsCategory::STATSD);
0 commit comments