Skip to main content
Version: NG-3.1

Azure API Management

Introduction

Azure API Management (APIM) is a fully managed service provided by Microsoft Azure that enables organizations to create, publish, secure, and monitor APIs (Application Programming Interfaces). It is designed to facilitate the development, scaling, and management of APIs, helping to ensure the smooth interaction between different services, systems, and clients.

Getting Started

Compatibility

The Azure API Management O11ySource supports Azure API Management Services within standard lifecycle support.

Data Collection Method

vuSmartMaps collects Azure API Management metrics through a data collector deployed within the vuSmartMaps platform, which uses azure_monitor to retrieve performance and health metrics.

Prerequisites

Dependent Configuration

To configure this O11ySource, create a 'credential' of type 'azure' under the 'Definition' tab.

Inputs for Configuring Data Source

  • Resource Name: Enter the Resource Name of API
  • Resource ID: A unique identifier for the Azure resource.
  • Credential: Client ID, Client Secret, Subscription ID and Tenant ID associated to the credential.
  • Period (in seconds): Time interval for polling data from the Azure Event Hub. Period should be between 60 seconds – 3000 seconds.
Applications

Firewall Requirement

To collect data from this O11ySource, ensure the following ports are opened:

Source IPDestination IPDestination PortProtocolDirection
vuSmartMaps Collection/Ingress node IPService URL443*TCPOutbound

*Before providing the firewall requirements, please update the port based on the customer environment.

Configuring the Target

Health and performance metrics of Azure API Management Services are collected through Azure Monitor service. Thus, Azure Monitor must be enabled in your Azure account. Azure API Management Services should have available instances for which monitoring is enabled.

An IAM role or user with the following permissions to access Azure API Management metrics through Azure Monitor:

  • Grant the Azure AD application, for which you've obtained the Client ID and Client Secret, the "Reader" role or a custom role specifically assigned with the Microsoft.Insights/metrics/read permission.

Configuration Steps

Metrics Collected

NameDescriptionData Type
@timestampOriginal timestamp of the agent in string formatString
timestampPrecise timestamp of the agent with millisecondsDateTime64(3)
resource_groupResource group in AzureString
subscription_idAzure subscription identifierString
resource_nameName of the Azure resource (Azure Management API)String
nameMetric name of the Azure resource(e.g., capacity, requests etc.)String
minimumMinimum value of the metric over the periodFloat64
maximumMaximum value of the metric over the periodFloat64
totalTotal value of the metric over the periodFloat64
averageAverage value of the metric over the periodFloat64
namespacelogical container that organizes and manages related resourcesString