Skip to content

API Analytics Overview

API Manager analytics provides insights into API usage, performance, and other key metrics to help API publishers and consumers make informed decisions. The analytics dashboard provides a comprehensive view of the API traffic, user engagement, and other relevant data. This section provides an overview of the analytics features available in WSO2 API Manager and guidance on how to use them effectively.

Architecture

APIM Analytics Architecture

Analytics architecture consists of the following components

  • Inbound Analytics
  • Outbound Analytics
    • AI Analytics

Inbound Analytics

As the above diagram shows, Inbound Analytics consists of analytics data that are collected between the user and API Proxy. This includes apiContext, proxyResponseCode, proxyResponseCode, apiType etc.

Outbound Analytics

Outbound Analytics consists of data collected between the API Proxy and the backend service. This includes targetResponseCode, backendLatency, destination, etc.

AI Analytics

AI Analytics shows the Outbound analytics data that are specific to AI APIs. This includes aiTokenUsage, vendorName, vendorVersion, model, promptTokens, completionTokens and totalTokens.

WSO2 API Manager supports multiple platforms to monitor and analyze API traffic. This includes:

  • Choreo Based Analytics - A SaaS-based API analytics platform that provides real-time insights into API traffic, performance, and user engagement.
  • ELK Based Analytics - Native support for Elasticsearch, Logstash, and Kibana (ELK) stack to monitor and analyze API traffic.
  • DataDog Based Analytics - Integration with DataDog to monitor and analyze API traffic.
  • OpenSearch Based Analytics - Integration with OpenSearch to monitor and analyze API traffic.