The API Management developer portal is an automatically generated, fully customizable website with the documentation of your APIs. It is where API consumers can discover your APIs, learn how to use them, and request access.
A popular feature of Azure Monitor is Application Insights. It's an extensible Application Performance Management (APM) service for developers and DevOps professionals. Use it to monitor your developer portal and detect performance anomalies.
This guide walks through every step of Integrating Application Insights to API Management developer portal. Application Insights includes powerful analytics tools to help you learn what users actually do while visiting your developer portal.
Follow these steps to plug Application Insights into your managed or self-hosted developer portal.
Console:
npm install @paperbits/azure --save |
Typescript:
import { AppInsightsPublishModule } from "@paperbits/azure"; ... injector.bindModule(new AppInsightsPublishModule());
|
Request URL: =========
|
Response:
|
Note:
=====
Sample Request in Postman as below:
===========================
Send a GET Request from Postman as below—
GET https://<APIM Mangement endpoint hostname>/subscriptions/<APIM SubscriptionID>/resourceGroups/<APIMResource group>/providers/Microsoft.ApiManagement/service/<APIM Service name>/contentTypes/document/contentItems/configuration?api-version=2021-01-01-preview
Request URL: ============ |
|
Note: Follow this document to create access token required to make calls into the Azure API Management REST API.: https://docs.microsoft.com/en-us/rest/api/apimanagement/apimanagementrest/azure-api-management-rest-...
Sample Request in Postman as below:
Reference Link : Integrate Application Insights to developer portal - Azure API Management | Microsoft Docs
Happy Learning!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.