How to get APPLICATIONINSIGHTS_CONNECTION_STRING in python via SDK

Naruto 61 Reputation points
2021-02-09T18:18:32.103+00:00

How to get the APPINSIGHTS_INSTRUMENTATIONKEY in python via code.
How can I use keyvault to get this key.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,512 questions
{count} votes

Accepted answer
  1. SUNOJ KUMAR YELURU 14,006 Reputation points MVP
    2021-02-10T00:05:57.72+00:00

    HI @Naruto

    There are no SDKs for retrieving data. Only REST API.

    Azure python SDK now support the query operation from ApplicationInsightsDataClient.

    https://azuresdkdocs.blob.core.windows.net/$web/python/azure-applicationinsights/0.1.0/_modules/azure/applicationinsights/application_insights_data_client.html

    Connection strings
    Application Insights SDK for Python

    If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful