I am trying to use the Add-on for Microsoft Cloud Services to retrieve metrics for storage accounts.
https://docs.microsoft.com/en-us/rest/api/storageservices/enabling-storage-metrics-and-viewing-metrics-data
https://docs.microsoft.com/en-us/rest/api/storageservices/storage-analytics-metrics-table-schema
I can create an input for table $MetricsCapacityBlob but it does not retrieve data. When I look in the log I can see that the problem is that it does not seem to see the table in the table list:
2017-05-23 08:19:50,164 +0000 log_level=INFO, pid=6344, tid=Thread-116, file=mscs_storage_table_dispatcher.py, func_name=_log_compiled_table_names, code_line_no=42 | [stanza_name="...." account_name="...." table_list="$MetricsCapacityBlob"] The patterns=[u'$MetricsCapacityBlob$']
2017-05-23 08:19:50,174 +0000 log_level=INFO, pid=6344, tid=Thread-116, file=mscs_storage_service_factory.py, func_name=_set_proxy, code_line_no=70 | [stanza_name="...." account_name="...." table_list="$MetricsCapacityBlob"] proxy is disabled.
2017-05-23 08:19:50,249 +0000 log_level=INFO, pid=6344, tid=Thread-116, file=mscs_storage_table_dispatcher.py, func_name=_get_storage_info_list, code_line_no=57 | [stanza_name="...." account_name="...." table_list="$MetricsCapacityBlob"] The table_list=[u'DocumentCommands', u'DocumentEvents', u'Documents']
2017-05-23 08:19:50,249 +0000 log_level=INFO, pid=6344, tid=Thread-116, file=mscs_storage_table_dispatcher.py, func_name=_get_storage_info_list, code_line_no=63 | [stanza_name="...." account_name="...." table_list="$MetricsCapacityBlob"] The qualified table_list=[]
2017-05-23 08:19:50,249 +0000 log_level=INFO, pid=6344, tid=Thread-116, file=mscs_storage_dispatcher.py, func_name=_dispatch_tasks, code_line_no=122 | [stanza_name="...." account_name="...." table_list="$MetricsCapacityBlob"] The number of qualified_storage is 0
I can create an input for a hidden storage blob and I can create an input for a "normal" table using the same account. This does retrieve data. So it really seems to be an issue that the add-on cannot see the hidden tables.
Any help on this?
Kind regards
Matthijs
↧