prometheus/discovery/digitalocean
Matteo Valentini 44b78ef318 Add image name meta label to DO service discovery
The label `__meta_digitalocean_image` expose the `slug` of the image and
the `slug` is only present in the public images.
To refer a user-generated image (`snapshot` or `custom`) we can use
the image's display name.

See: https://developers.digitalocean.com/documentation/v2/#images

Signed-off-by: Matteo Valentini <matteo.valentini@nethesis.it>
2021-02-16 11:05:14 +01:00
..
digitalocean_test.go Add image name meta label to DO service discovery 2021-02-16 11:05:14 +01:00
digitalocean.go Add image name meta label to DO service discovery 2021-02-16 11:05:14 +01:00
mock_test.go Add DigitalOcean service discovery (#7407) 2020-06-18 17:04:41 +02:00