It fetches targets from an HTTP endpoint containing a list of zero or mores. The target must reply with an HTTP 200 response.The HTTP header Content-Type must be application/json, and the body must bevalid JSON.
Relabeling is a powerful tool to dynamically rewrite the label set of a target beforeit gets scraped. Multiple relabeling steps can be configured per scrape configuration.They are applied to the label set of each target in order of their appearancein the configuration file.
This blog demonstrates a real use case where we are going to create an ansible playbook which will dynamically load the variable file name same as OS name and just by using the variable names we can configure our target node. And this we will do without using the ansible "when" keyword.
df19127ead