How to track deployment to Azure webapp in NewRelic? -


background info: have set azure automatically deploy code develop branch (on github) dev-webapp when code pushed develop branch. when code pushed master branch, azure deploys code master branch test-webapp , pre prod-deployment slot.

in azure i'm using new relic appservice monitor these apps. works. want notify new relic when code deployed webapp.

quote new relic:

to notify new relic of deployment, can post https://api.newrelic.com/deployments.xml , add api key header

to notify new relic when code deployed dev , test, set webhook in github run when code pushed develop-branch , master-branch. have tested this, , works. feel not optimal since notification comes github, , not azure deployment takes place.

i want notify new relic when pre-prod deploymentslot swapped prod.

is possible? , best way this?

maybe webjobs soulution? should webjob runs once after webapp deployed , deployment-slot swapped (for prod). cannot find information setting such job.

use powershell swap slots , call new relic uri https://azure.microsoft.com/en-us/documentation/articles/web-sites-staged-publishing/

i'm sorry don't know new relic perhaps there similar solution in application insights (why don't switch?), can specify version send: http://blogs.msdn.com/b/visualstudioalm/archive/2015/01/07/application-insights-support-for-multiple-environments-stamps-and-app-versions.aspx (part: version version comparisons)


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -