summaryrefslogtreecommitdiff
path: root/cloudinit/sources
diff options
context:
space:
mode:
authorJohnson Shi <Johnson.Shi@microsoft.com>2021-01-04 12:13:44 -0800
committerGitHub <noreply@github.com>2021-01-04 15:13:44 -0500
commit80847b054e64fb43e0823f86d2bf7e0c295b7fe4 (patch)
treee9687f2a2803be8c2079ad7552df13c4768562f4 /cloudinit/sources
parent5d017ab6d1368271f4a522a24e16e57fbbd6e53a (diff)
downloadvyos-cloud-init-80847b054e64fb43e0823f86d2bf7e0c295b7fe4.tar.gz
vyos-cloud-init-80847b054e64fb43e0823f86d2bf7e0c295b7fe4.zip
Azure: Add telemetry for poll IMDS (#741)
Diffstat (limited to 'cloudinit/sources')
-rwxr-xr-xcloudinit/sources/DataSourceAzure.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/sources/DataSourceAzure.py b/cloudinit/sources/DataSourceAzure.py
index bedf8ea0..8a0bf91d 100755
--- a/cloudinit/sources/DataSourceAzure.py
+++ b/cloudinit/sources/DataSourceAzure.py
@@ -983,6 +983,7 @@ class DataSourceAzure(sources.DataSource):
if nl_sock:
nl_sock.close()
+ @azure_ds_telemetry_reporter
def _poll_imds(self):
"""Poll IMDS for the new provisioning data until we get a valid
response. Then return the returned JSON object."""