diff options
author | Johnson Shi <Johnson.Shi@microsoft.com> | 2021-01-04 12:13:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 15:13:44 -0500 |
commit | 80847b054e64fb43e0823f86d2bf7e0c295b7fe4 (patch) | |
tree | e9687f2a2803be8c2079ad7552df13c4768562f4 | |
parent | 5d017ab6d1368271f4a522a24e16e57fbbd6e53a (diff) | |
download | vyos-cloud-init-80847b054e64fb43e0823f86d2bf7e0c295b7fe4.tar.gz vyos-cloud-init-80847b054e64fb43e0823f86d2bf7e0c295b7fe4.zip |
Azure: Add telemetry for poll IMDS (#741)
-rwxr-xr-x | cloudinit/sources/DataSourceAzure.py | 1 |
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.""" |