Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.62k stars 2.83k forks source link

Custom TrackAvailability test implementation by TrackAvailability() method support #36640

Open noorah-kazi-kit opened 3 months ago

noorah-kazi-kit commented 3 months ago

Is your feature request related to a problem? Please describe. I am looking to create Custom TrackAvailability test by using the method TrackAvailability() to send the results to Application Insights. I see that Azure SDK for .NET Preview and Azure SDK for .NET Latest applies this but it is not available in azure-sdk-for-python. Describe the solution you'd like I would like to send results of custom availability test to Azure Application insights using the TrackAvailability() implementation via azure-sdk-for-python

Describe alternatives you've considered I have tried using opentelemetry sdk to send availability telemetry data - however it gers recorded in dependencies table in Log analytics workspace instead of availabilityResults. It is my understanding that the availabilityResults is only populated when TrackAvailability or standard webtest is utilised

Additional context Add any other context or screenshots about the feature request here.

xiangyan99 commented 3 months ago

Thanks for reaching out.

Could you please provide the information that which library are you referring?

github-actions[bot] commented 3 months ago

Hi @noorah-kazi-kit. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

noorah-kazi-kit commented 3 months ago

@xiangyan99 I am looking for a similar implementation of https://github.com/Azure/azure-docs-sdk-dotnet/blob/main/xml/Microsoft.ApplicationInsights.DataContracts/AvailabilityTelemetry.xml in the azure-sdk-for-python library.

Reference: https://learn.microsoft.com/en-us/dotnet/api/microsoft.applicationinsights.telemetryclient.trackavailability?view=azure-dotnet Summary: I would like to find a solution to implement TrackAvailability(AvailabilityTelemetry) utilising Azure SDK for Python

noorah-kazi-kit commented 3 months ago

I havent heard anything yet on this topic. Could you please let me know if there will be any update? Waiting for your response

yanwic commented 2 months ago

Hi, we would also benefit from this addition. Has there been any movement w.r.t. this Issue?

lzchen commented 1 month ago

@yanwic @jeremydvoss

We are planning to add support for this feature in the upcoming months.