mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 17:13:22 +00:00
0f4c27e2bf
Adds a new label to include the ID of the image that an instance is using. This can be used for example to filter a job to only include instances using a certain image as that image includes some exporter. Sometimes the image information isn't available, such as when the image is private and the user doesn't have the roles required to see it. In those cases we just don't set the label, as the rest of the information from the discovery provider can still be used. Signed-off-by: Taavi Väänänen <hi@taavi.wtf> |
||
---|---|---|
.. | ||
hypervisor_test.go | ||
hypervisor.go | ||
instance_test.go | ||
instance.go | ||
mock_test.go | ||
openstack.go |