Skip to content

Azure: Add telemetry for poll IMDS#741

Merged
OddBloke merged 1 commit into
canonical:masterfrom
johnsonshi:add-azure-telemetry-poll-imds
Jan 4, 2021
Merged

Azure: Add telemetry for poll IMDS#741
OddBloke merged 1 commit into
canonical:masterfrom
johnsonshi:add-azure-telemetry-poll-imds

Conversation

@johnsonshi
Copy link
Copy Markdown
Contributor

Proposed Commit Message

Azure: Add telemetry for poll IMDS

Additional Context

_poll_imds within DataSourceAzure.py currently doesn't have the Azure telemetry decorator @azure_ds_telemetry_reporter. This decorator enriches telemetry needed for diagnosing issues related to Azure polling of IMDS.

Test Steps

  • Deployed a Canonical:UbuntuServer:18.04-LTS:latest VM on Azure.
  • Built a deb package out of my branch's cloud-init.
  • Installed the deb in the Azure VM.
  • Cleaned the VM and captured it into a generalized custom image.
  • Deployed and provisioned a VM from this generalized custom image containing custom cloud-init.
  • Verified that everything works.

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

Copy link
Copy Markdown
Collaborator

@OddBloke OddBloke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@OddBloke OddBloke merged commit 80847b0 into canonical:master Jan 4, 2021
@johnsonshi johnsonshi deleted the add-azure-telemetry-poll-imds branch January 4, 2021 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants