question

ParithibanG-6557 avatar image
0 Votes"
ParithibanG-6557 asked bharathn-msft edited

How to setup azure monitor with ubuntu cloud server

I am a newbie to azure

I have a web(PHP) application that is hosted in the third-party cloud. The os we are using is ubuntu. How can I integrate azure monitoring for it?

I had a look at the ApplicationInsights-PHP package but this seems to be archived. How can I use app insights for PHP based application

Is there any document that I can refer to integrate the azure monitor with my application


azure-monitor
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

bharathn-msft avatar image
0 Votes"
bharathn-msft answered bharathn-msft edited

<<Moving the information from comments to here for broader community usage>>

@ParithibanG-6557 Welcome to Microsoft Q&A and thank you for your query.

Post validation with our team, it has been called out that currently we don't officially support use of Application Insights for PHP , but it is on our roadmap to support. Unfortunately we don't have committed timeline yet on this, however as we move towards OpenTelemetry we are looking for customers who can sign up here to be first to know when PHP becomes available and it will also help our team to track and understand the different customer scenarios.

Hope this information helps , please let us know if you have any additional queries. Thank you


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@bharathn-msft

Thanks for your reply.

Will there be an alternative available to achieve this. Similar to configure azure-cli in my server and can I push data to app-insights with the Instrumentation Key by a shell script. over a period of time such as setting scheduler/cron job.

0 Votes 0 ·

Thank you @ParithibanG-6557 for your follow up query. To better understand the question you have , are you trying to understand that when we move towards Open Telemetry
would there be a possibility to use azure-cli or other automation to enable Application Insights for a certain PHP application ?

Just came across "Using OpenTelemetry Collector to collect traces to send to AppInsights" , the documentation and process is owned by Dapr Docs. However sharing in the context how 3rd party can use Open Telemetry and send data to App Insights.

Additional details on Opentelemetry.

Hope the information helps, please revert back if you have any further queries.


1 Vote 1 ·