VictoriaMetrics/lib/promscrape/discovery
Zhu Jiekun 8848614315
lib/discovery/azure: fix host check in next link in Azure SD (#6915)
Previous bugfix at 49f63b2 only partially fixed pagination host validation error.

 Before this fix it was:
```
unexpected nextLink host \"management.azure.com\", expecting \"https://management.azure.com\"
```

Now we only check the `Host` without schema. 

However, when Azure respond `nextLink` in `Host:Port` format, the
`nextLink` check will fail:
```
unexpected nextLink host \"management.azure.com:443\", expecting \"management.azure.com\"
```

This pull request further relaxes the checks by only checking the
`Hostname`.

---

 related issue: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6912
2024-09-05 16:58:10 +02:00
..
azure lib/discovery/azure: fix host check in next link in Azure SD (#6915) 2024-09-05 16:58:10 +02:00
consul all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
consulagent all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
digitalocean all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
dns all: replace old https://docs.victoriametrics.com/sd_configs.html url with the new one - https://docs.victoriametrics.com/sd_configs/ 2024-04-18 02:28:26 +02:00
docker all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
dockerswarm all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
ec2 all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
eureka all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
gce all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
hetzner all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
http all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
kubernetes all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
kuma all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
nomad all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
openstack all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
vultr all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
yandexcloud lib/promscrape/discovery/yandexcloud: follow-up for 070abe5c71 2024-07-16 18:06:33 +02:00