@azure/connectors-azureapplicationinsightsdeprecated

AzureApplicationInsightsConnector Library with typescript type definitions for node.js and browser.

Usage no npm install needed!

<script type="module">
  import azureConnectorsAzureapplicationinsights from 'https://cdn.skypack.dev/@azure/connectors-azureapplicationinsights';
</script>

README

AzureApplicationInsights Connector

This package contains an SDK for the AzureApplicationInsights Azure Connector.

How to use

This SDK should be used with Azure Connectors. Azure Connectors makes connecting to hundreds of services a simple and consistent experience. To start using this SDK, check out instructions and samples on the Azure Connectors repo.

Example code:

import { createAzureApplicationInsightsConnector } from "@azure/connectors-azureapplicationinsights";
const connectionString = process.env["CONNECTOR_CONNECTOR_STRING"];

module.exports = async function (context) {
    const azureapplicationinsightsConnector = await createAzureApplicationInsightsConnector(connectionString);

    // Use azureapplicationinsightsConnector 
};