Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[add_cloud_metadata][Azure] Enhance metadata with cloud.availability_zone #42601

Open
MichaelKatsoulis opened this issue Feb 5, 2025 · 1 comment
Labels
Team:obs-ds-hosted-services Label for the Observability Hosted Services team

Comments

@MichaelKatsoulis
Copy link
Contributor

MichaelKatsoulis commented Feb 5, 2025

In add_cloud_metadata processor and specifically for azure provider , the information about availability_zone is not collected.

"resourcegroup": c.Str("resourceGroupName"),

The metadata are fetched from the metadata endpoint http://169.254.169.254/metadata/instance/compute?api-version=2021-02-01 and the information of availability zone is returned.
Example:

{"name":"katsoulis-vm_OsDisk_1_b10ef16a2df249c79d58c82b99b12490","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},"resourceDisk":{"size":"38912"}},"subscriptionId":"12cabcb4-86e8-404f-a3d2-1dc9982f45ca","tags":"","tagsList":[],"userData":"","version":"24.04.202502040","vmId":"acffad2a-8d8e-4a7f-82f6-7fe7d8819228","vmScaleSetName":"","vmSize":"Standard_B2s","zone":"1"}```

In other providers like AWS and GCP the cloud.availability_zone field is collected.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 5, 2025
@MichaelKatsoulis MichaelKatsoulis added the Team:obs-ds-hosted-services Label for the Observability Hosted Services team label Feb 6, 2025
@elasticmachine
Copy link
Collaborator

Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:obs-ds-hosted-services Label for the Observability Hosted Services team
Projects
None yet
Development

No branches or pull requests

2 participants