mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-13 17:14:05 -08: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.go | ||
hypervisor_test.go | ||
instance.go | ||
instance_test.go | ||
mock_test.go | ||
openstack.go |