An Azure service that provides an event-driven serverless compute platform.
@Andrey Baranov Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
I see that your ask is specific to the Python based Azure Function app and monitoring it using Application Map feature of AppInsights.
As per the application map documentation, for Python, you can use OpenCensus Python telemetry processors.
def callback_function(envelope):
envelope.tags['ai.cloud.role'] = 'new_role_name'
# AzureLogHandler
handler.add_telemetry_processor(callback_function)
# AzureExporter
exporter.add_telemetry_processor(callback_function)
More Info about analyzing Logs, Tracing, metrics in OpenCensus for Python is here.
If you want to Enable Azure Monitor OpenTelemetry for .NET, Node.js, Python and Java applications, please follow the steps mention here for Python.
If you intend to use Live metrics in Azure Monitor, then Our docs says that Live Metrics is currently supported for ASP.NET, ASP.NET Core, Azure Functions, Java, and Node.js apps. And its not available for Python.
Hope this answers.
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.