Add specific Azure permissions required for Azure SD (#15549)

Add specific Azure permissions required for Azure SD

Co-authored-by: Ayoub Mrini <ayoubmrini424@gmail.com>
Signed-off-by: Jeremiah Harbach <jeremiah.harbach@gmail.com>

---------

Signed-off-by: Jeremiah Harbach <jeremiah.harbach@gmail.com>
Co-authored-by: Ayoub Mrini <ayoubmrini424@gmail.com>
This commit is contained in:
Jeremiah Harbach 2024-12-12 06:57:08 -06:00 committed by GitHub
parent b7f5f36e54
commit 7d0f6b7e6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -676,6 +676,13 @@ http_headers:
Azure SD configurations allow retrieving scrape targets from Azure VMs.
The discovery requires at least the following permissions:
* `Microsoft.Compute/virtualMachines/read`: Required for VM discovery
* `Microsoft.Network/networkInterfaces/read`: Required for VM discovery
* `Microsoft.Compute/virtualMachineScaleSets/virtualMachines/read`: Required for scale set (VMSS) discovery
* `Microsoft.Compute/virtualMachineScaleSets/virtualMachines/networkInterfaces/read`: Required for scale set (VMSS) discovery
The following meta labels are available on targets during [relabeling](#relabel_config):
* `__meta_azure_machine_id`: the machine ID