New Relic on Azure Mobile Services with .Net backend -


i configure new relic on azure mobile services instance .net backend. instructions found seem relate azure mobile services javascript backend: http://azure.microsoft.com/en-us/documentation/articles/store-new-relic-mobile-services-monitor/

i tried instructions install new relic on azure cloud services, hoping that resemble azure mobile services, unfortunately didn't work. showed following error messages:

*updating project items newrelic.cmd, newrelicagent_x64_3.4.24.0.msi, , newrelicservermonitor_x64_3.2.6.0.msi

*updating windows azure servicedefinition.csdef newrelic.cmd startup task unable find servicedefinition.csdef file in solution, please make sure solution contains azure deployment project , try again.

updating windows azure serviceconfiguration..cscfg files license key unable find serviceconfiguration.cscfg files in solution, please make sure solution contains azure deployment project , try again.

*updating projects .config file newrelic.appname

*package install complete

azure mobile services doesn't use azure deployment project necessary settings new relic cannot stored there.

now question: know how new relic working azure mobile services .net backend?

thanks, jeffry

ok, managed working azure mobile services team. reason doesn't work bug fixed, in mean time there's easy work around.

these steps working:

  1. turn on “developer analytics” in portal , select new relic add-on , press save.
  2. now if under “app settings” should see “new_relic_license_key”
  3. rename “new_relic_license_key” “newrelic_licensekey” while keeping same value.
  4. add these settings under “app settings”

    a. cor_enable_profiling = 1

    b. cor_profiler = {71da0a04-7777-4ec6-9643-7d28b46a8a41}

    c. newrelic_home = d:\home\site\wwwroot\newrelic

    d. cor_profiler_path = d:\home\site\wwwroot\newrelic\newrelic.profiler.dll

  5. press save
  6. make sure have added newrelic.azure.websites package project , published
  7. fire off few requests service

    a. can use built-in test client right in browser, example: http://newrelictest.azure-mobile.net/help/api/get-tables-todoitem

    b. authenticate leave username blank , paste in app key password. can find app key in portal under “manage keys”.

    c. press “try out” , send few gets

  8. you should able start seeing analytics trickle in through new relic portal.

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -