2016-03-14 3 views
0

Как получить данные мониторинга виртуальной машины Azure ARM с использованием .Net SDK.Как получить данные мониторинга виртуальной машины Azure ARM с использованием .Net SDK

Я попытался с помощью Microsoft.Azure.Insights и я получаю следующую ошибку

Ошибка сервера в приложении «/».

 <h2> <i>Runtime Error</i> </h2></span> 

     <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> 

     <b> Description: </b>An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 
     <br><br> 

     <b>Details:</b> To enable the details of this specific error message to be viewable on remote machines, please create a &lt;customErrors&gt; tag within a &quot;web.config&quot; configuration file located in the root directory of the current web application. This &lt;customErrors&gt; tag should then have its &quot;mode&quot; attribute set to &quot;Off&quot;.<br><br> 

ответ

1

Вы могли бы доступ к необработанным метрическим данным с Microsoft Azure Insights Library, которая включает в себя единый API для получения показателей мониторинга и оперативных мероприятий для всех Azure ресурсов, которые доступны в диспетчере Azure ресурсов. И вы можете обратиться к MSDN Library - Microsoft.Azure.Insights за дополнительной информацией.

+0

Спасибо Стивен. Я сделал то же самое, однако я получаю какое-то неизвестное CloudException, которое обновляется под вопросом – Tejas

 Смежные вопросы

  • Нет связанных вопросов^_^