VictoriaMetrics/lib/promscrape/discovery
Mattias Ängehov 3904b8959e
Azure Service Discovery - Fix token fetch for Container Apps/App Services (#3832)
* Modify API version when running in Container App

* Handle expires on from token response

Response from IMDS does not always contain expires in value which is
currently used to get the token expiry time. An example resources that
doesn't provide it are Container Apps and App Service.

Signed-off-by: Mattias Ängehov <mattias.angehov@castoredc.com>

* Fix client id parameter for user assigned identity

* Apply suggestions from code review

---------

Signed-off-by: Mattias Ängehov <mattias.angehov@castoredc.com>
Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
2023-02-22 19:24:23 -08:00
..
azure Azure Service Discovery - Fix token fetch for Container Apps/App Services (#3832) 2023-02-22 19:24:23 -08:00
consul app,lib: fix typos in comments (#3804) 2023-02-13 09:32:35 -08:00
digitalocean lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
dns lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
docker lib/promscrape/discovery: add a comment explaining why duplicates are removed from the generated target labels 2023-02-22 17:50:42 -08:00
dockerswarm lib/promscrape/discovery: add a comment explaining why duplicates are removed from the generated target labels 2023-02-22 17:50:42 -08:00
ec2 lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
eureka lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
gce chore: Use http constants to replace numbers (#3846) 2023-02-22 18:59:32 -08:00
http lib/promscrape/discovery: add a comment explaining why duplicates are removed from the generated target labels 2023-02-22 17:50:42 -08:00
kubernetes chore: Use http constants to replace numbers (#3846) 2023-02-22 18:59:32 -08:00
kuma all: consistently use http.Method{Get,Post,Put} across the codebase 2023-02-22 19:01:09 -08:00
nomad app,lib: fix typos in comments (#3804) 2023-02-13 09:32:35 -08:00
openstack chore: Use http constants to replace numbers (#3846) 2023-02-22 18:59:32 -08:00
yandexcloud chore: Use http constants to replace numbers (#3846) 2023-02-22 18:59:32 -08:00