VictoriaMetrics/lib
Aliaksandr Valialkin 35b3b95cbc
lib/promscrape/discovery/vultr: follow-up after 17e3d019d2
- Sort the discovered labels in alphabetical order at https://docs.victoriametrics.com/sd_configs/#vultr_sd_configs
- Rename VultrConfigs to VultrSDConfigs to be consistent with the naming for other SD configs.
- Prepare query arg filters for `list instances API` at newAPIConfig() instead of passing them in a separate listParams struct.
  This simplifies the code a bit.
- Return error when bearer token isn't set at vultr_sd_configs, since this token is mandatory
  according to https://docs.victoriametrics.com/sd_configs/#vultr_sd_configs
- Remove unused fields from the parsed response from Vultr list instances API in order to simplify the code a bit.
- Remove double logging of errors inside getInstances() function, since these errors must be already logged by the caller.
- Simplify tests, so they are easier to maintain.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6041
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6068
2024-07-05 17:40:03 +02:00
..
appmetrics
auth
awsapi
backup
blockcache
bloomfilter
bufferedwriter
buildinfo
bytesutil
cgroup
decimal
encoding
envflag
envtemplate
fastnum
fasttime
filestream
flagutil
formatutil
fs
htmlcomponents
httpserver
httputils
influxutils
ingestserver
leveledbytebufferpool
logger
logstorage
lrucache
memory
mergeset
metricsql
netutil
persistentqueue
procutil
promauth
prompb
prompbmarshal
promrelabel
promscrape lib/promscrape/discovery/vultr: follow-up after 17e3d019d2 2024-07-05 17:40:03 +02:00
promutils
protoparser
proxy
pushmetrics
querytracer
ratelimiter
regexutil
slicesutil
snapshot
storage
streamaggr
stringsutil
syncwg
tenantmetrics
timerpool
timeutil
uint64set
workingsetcache
writeconcurrencylimiter