VictoriaMetrics/lib/promscrape/discovery
Mattias Ängehov 6d019a3c37
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:19:53 -08:00
..
azure Azure Service Discovery - Fix token fetch for Container Apps/App Services (#3832) 2023-02-22 19:19:53 -08:00
consul app,lib: fix typos in comments (#3804) 2023-02-13 13:27:13 +01:00
digitalocean lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
dns lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
docker lib/promscrape/discovery: add a comment explaining why duplicates are removed from the generated target labels 2023-02-22 17:51:51 -08:00
dockerswarm lib/promscrape/discovery: add a comment explaining why duplicates are removed from the generated target labels 2023-02-22 17:51:51 -08:00
ec2 lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
eureka lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
gce chore: Use http constants to replace numbers (#3846) 2023-02-22 18:53:05 -08:00
http lib/promscrape/discovery: add a comment explaining why duplicates are removed from the generated target labels 2023-02-22 17:51:51 -08:00
kubernetes chore: Use http constants to replace numbers (#3846) 2023-02-22 18:53:05 -08:00
kuma all: consistently use http.Method{Get,Post,Put} across the codebase 2023-02-22 18:58:46 -08:00
nomad app,lib: fix typos in comments (#3804) 2023-02-13 13:27:13 +01:00
openstack chore: Use http constants to replace numbers (#3846) 2023-02-22 18:53:05 -08:00
yandexcloud chore: Use http constants to replace numbers (#3846) 2023-02-22 18:53:05 -08:00