Skip to content

Add Availability Zone for Azure #40983

@cailyoung

Description

@cailyoung

Component(s)

internal/metadataproviders, processor/resourcedetection

Is your feature request related to a problem? Please describe.

The existing Azure resource processor doesn't retrieve the AZ of the instance, which is a semantic convention attribute available for cloud resources.

Describe the solution you'd like

Extend the metadata client to grab zone from the IMDS response and make it available for the resourcedetection processor to add as the resource attribute cloud.availability_zone.

Describe alternatives you've considered

Theoretically I could plumb this in with an attribute processor and environment variables from the outside if we can predict which zone a given collector is running in, but automatic detection is a lot simpler.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions