VictoriaMetrics/app/vmauth
Aliaksandr Valialkin 590aeccd7d
app/vmauth: follow-up for 3a45bbb4e0
- Move the test for SRV discovery into a separate function. This allows verifying round-robin discovery across SRV records.
- Restore the original netutil.Resolver after the test finishes, so it doesn't interfere with other tests.
- Move the description of the bugfix into the correct place at docs/CHANGELOG.md - it should be placed under v1.102.0-rc2
  instead of v1.102.0-rc1.
- Remove unneeded code in URLPrefix.sanitizeAndInitialize(), since it is expected this function is called only once
  for finishing URLPrefix initializiation. In this case URLPrefix.nextDiscoveryDeadline and URLPrefix.n are equal to 0
  according to https://pkg.go.dev/sync/atomic#Uint64
- Properly fix the bug at URLPrefix.discoverBackendAddrsIfNeeded() - it is expected that hostToAddrs map uses
  the original hostname keys, including 'srv+' prefix, so it shouldn't be removed when looping over up.busOriginal.
  Instead, the 'srv+' prefix must be removed from the hostname only locally before passing the hostname to netutil.Resolver.LookupSRV.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6401
2024-07-16 10:40:51 +02:00
..
deployment app/vmauth: add initial version of vmauth. See https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/app/vmauth/README.md for details 2020-05-05 10:54:17 +03:00
multiarch deployment: build image for vmagent streamaggr benchmark (#6515) 2024-06-24 16:28:50 +02:00
auth_config.go app/vmauth: follow-up for 3a45bbb4e0 2024-07-16 10:40:51 +02:00
auth_config_test.go app/vmauth: add test for LeastLoaded balance policy (#6144) 2024-04-30 10:22:17 +02:00
example_config.yml app/vmauth: adds metric_labels and backend_errors counter (#5585) 2024-01-21 04:40:52 +02:00
example_config_ent.yml vmauth: add browser authorization request for http requests without… (#5234) 2023-11-01 20:59:46 +01:00
main.go app/vmauth: clarify the description for -idleConnTimeout command-line flag 2024-07-16 09:39:15 +02:00
main_test.go app/vmauth: reader pool to reduce gc & mem alloc (#6533) 2024-07-02 14:32:32 +02:00
Makefile Add build support for loong64 (#6222) 2024-05-09 14:22:03 +02:00
README.md all: replace old https://docs.victoriametrics.com/vmauth.html url with the new one - https://docs.victoriametrics.com/vmauth/ 2024-04-18 01:49:41 +02:00
target_url.go app/vmauth: follow-up for b155b20de4 2024-04-17 14:27:52 +02:00
target_url_test.go app/vmauth: follow-up for 3a45bbb4e0 2024-07-16 10:40:51 +02:00

See vmauth docs here.

vmauth docs can be edited at docs/vmauth.md.