Appinsights for Azure webapp -PHP wordpress

E, Hemavathi 11 Reputation points
2021-07-08T12:38:02.34+00:00

Hello ,

We are working on a wordpress project using PHP as Runtime stack ,I am aware that Agent-based application monitoring for PHP and WordPress sites are not supported. We are currently migrating the live site to Azure app service. Can anyone kindly let me know how to configure appinsights for this app service .Thanks in advance.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,256 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,088 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,758 questions
{count} votes

2 answers

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,506 Reputation points
    2021-07-14T09:31:57.203+00:00

    Thanks for asking question! If I have understood right you already have wordpress site in azure and want to configure application insights to this. If so, you can follow below steps to configure Application Insights.

    1. Install Application Insights plugin from WordPress Plugins
    2. Create Application Insights
    3. Copy the Instrumentation Key from created Application Insights
    4. Then go to Settings and Application Insights inside wordpress, and add the key there.
    5. Access the website and look for details

    Refer to this blog here might be helpful.

    Let us know if further query or issue remains.

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you.

    1 person found this answer helpful.

  2. SnehaAgrawal-MSFT 21,506 Reputation points
    2021-07-16T14:35:32.44+00:00

    Thanks for reply! Also, once you have migrated your azure web app you can enable Application insights from the Azure portal.

    1. Go to your Azure Web App -> Application Insights.
    2. Click Turn on Application insights.
    3. You can either choose the existing Application Insights instance or create a new one by providing the Name and Location.
    4. Click on Apply to turn on the Application Insights for this Web-App.

    115454-2021-07-16-19-36-33-snagdemo-microsoft-azure.png

    Also Check this blog Determine your WordPress web app usage with Application Insights might be helpful.

    Let us know if further query or issue remains.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.