mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-22 08:26:19 +01:00
476bf400ac
- Rename GetStatDialFunc to NewStatDialFunc, since it returns new function with every call
- NewStatDialFunc isn't related to http in any way, so it must be moved from lib/httputils to lib/netutil
- Simplify the implementation of NewStatDialFunc by removing sync.Map from there.
- Use netutil.NewStatDialFunc at app/vmauth and lib/promscrape/discoveryutils
- Use gauge instead of counter type for *_conns metric
This is a follow-up for
|
||
---|---|---|
.. | ||
testdata | ||
datasource_test.go | ||
datasource.go | ||
faker.go | ||
init.go | ||
vm_graphite_api.go | ||
vm_prom_api_test.go | ||
vm_prom_api_timing_test.go | ||
vm_prom_api.go | ||
vm_test.go | ||
vm.go |