prometheus/discovery/openstack
Kien Nguyen-Tuan 9c5370fdfe Support discover instances from all projects (#4682)
By default, OpenStack SD only queries for instances
from specified project. To discover instances from other
projects, users have to add more openstack_sd_configs for
each project.

This patch adds `all_tenants` <bool> options to
openstack_sd_configs. For example:

- job_name: 'openstack_all_instances'
  openstack_sd_configs:
    - role: instance
      region: RegionOne
      identity_endpoint: http://<identity_server>/identity/v3
      username: <username>
      password: <super_secret_password>
      domain_name: Default
      all_tenants: true

Co-authored-by: Kien Nguyen <kiennt2609@gmail.com>
Signed-off-by: dmatosl <danielmatos.lima@gmail.com>
2018-10-17 13:01:33 +01:00
..
hypervisor.go discovery/openstack: support tls_config 2018-09-25 14:31:32 +02:00
hypervisor_test.go Change discovery subpackages to not use testify in tests (#4612) 2018-09-18 17:35:22 +02:00
instance.go Support discover instances from all projects (#4682) 2018-10-17 13:01:33 +01:00
instance_test.go Support discover instances from all projects (#4682) 2018-10-17 13:01:33 +01:00
mock_test.go discovery/openstack: discover all interfaces (#4649) 2018-10-09 16:17:08 +01:00
openstack.go Support discover instances from all projects (#4682) 2018-10-17 13:01:33 +01:00