LogoLogo
  • User Guide
    • Getting Started
      • Building a Usage-Based Product in Revenium
      • Setting Up & Using API Analytics & Observability
      • Setting Up & Using Product Analytics
      • Sending Data to Revenium's Metering API
      • Key Concepts & Relationships
    • Connect Your Data
      • cURL Commands for Testing
      • Container-Native Metering
      • Kong
        • Kubernetes Installation
      • Salesforce
        • Revenium Unmanaged Package
          • Anypoint API Experience Hub (AEH)
            • Anypoint API Experience Hub Unmanaged Package Post Installation Instructions
          • Anypoint Community Manager (ACM)
            • Anypoint Community Manager Package Post Installation Instructions
        • Revenium Lightning Web Components
          • Add Components to Experience Cloud site
          • Drop-In Storefront
          • Product Card
          • Product Card (Anypoint)
          • Product Checkout
          • Product Details Button
          • Usage History
          • API Access Requester
      • MuleSoft
        • Metering Policy Configuration
        • Offline Metering Policy Configuration
        • Anypoint API & API Group Synchronization
        • Revenium Connector
        • Disable Default Anypoint Community Manager (ACM) Email Notifications
      • Gravitee
      • Istio
      • Envoy
      • AWS API Gateway
      • Python & Django
      • Golang
      • Spring Boot
      • .Net
      • NodeJs
      • Java/JVM
      • Snowflake
      • Azure API Management
      • IBM
      • Custom Integrations Using Metering Beacons
        • JWT Enrichment
      • Offline Metering via Log Parsing
    • Sources
      • Metering Elements
      • Alerts
        • Alert History
    • API Keys
    • Products & Pricing
      • Product Lines
      • Pricing Rules
        • Revenium Scripting Language
          • RSL Reference
        • Execution Logs
      • SLA Definitions
      • SLA Violation Review
    • Customers
      • Customers
      • Subscribers
      • Subscriptions
      • Subscribers Credentials
      • Subscribers Notifications
    • Billing and Invoicing
      • Manage Refunds
    • Analytics
      • Revenue Analytics
      • Product Analytics
        • Custom Reports (Products)
      • Subscriber Analytics
        • New Subscribers
        • (Daily/Weekly/Monthly) Active Subscribers
        • Most Engaged Subscribers & Customers
        • Historical Usage
      • API Analytics
        • Performance & Availability
        • Compare Periods
        • Traffic by Geography
        • Advanced Search
        • Custom Reports
    • Profile
      • Profile
      • Revenium API Documentation
    • Settings
      • Revenium Users & Organizations
        • Access Permissions by User Type
      • Revenium Subscription
      • Revenium Organizations
      • Notification Templates
      • Transactions Logs
        • Analytics Transaction Log
        • Product Transaction Log
        • Subscription Audit Log
        • No Code Transaction Testing
      • Integrations
        • Data Sync
        • Export Configurations
        • Notification Providers
        • Payment Configurations
          • Customer VAT ID Support
        • ERP Configurations
        • External Integration Logs
        • Identity Providers
      • System Logs
      • Default Configuration Limits
Powered by GitBook

© Revenium - www.revenium.io

On this page
  • What Can you Do with Revenium API Analytics?
  • API Performance
  • Customer Usage Data
  • Setting Up API Analytics
  • 1. Connect Your Data
  • 2. Confirm Successful Data Connection
  • 3. Review Auto-Detected Data Sources
  • 4. Review Analytics Transactions in Revenium
  • 5. Set Up Alerting for API Performance & Availability
  1. User Guide
  2. Getting Started

Setting Up & Using API Analytics & Observability

Learn how to configure Revenium's analytics suite, including API usage & performance reporting and alerting.

Last updated 7 months ago

API analytics are created automatically when using any of our API gateway (i.e. Kong, Mulesoft, aws, azure, and many others). API analytics are not generated for non-API data sources, though you can add your own performance data to your usage calls via our metering API ().

If you are using Revenium for usage-based metering & billing without an API data source, you may find the more useful.

What Can you Do with Revenium API Analytics?

Revenium API analytics helps to answer questions like these:

API Performance

  • Which of my APIs has the highest error rates? Do these always happen at the same time?

  • When did our performance problems begin and which customers have been affected?

  • Which endpoints regularly deliver a poor customer experience?

  • How did overall performance change after our last product release?

  • Is the API performance adequate for international customers?

Customer Usage Data

  • Which customers have the highest usage?

  • Which customers have shown a drop in usage in the last 30 days? Did this correlate to any changes made by our team?

Setting Up API Analytics

1. Connect Your Data

2. Confirm Successful Data Connection

3. Review Auto-Detected Data Sources

Revenium will auto-create data sources for each different URL it observes from your traffic, after which you can refine the auto-detected sources as needed.

Note that when creating or editing your API data sources, you can define the sources to be as generic or specific as you want by refining the filters available on the Source creation form. For example, the API in Figure 1 could be broadened to include all methods (vs. POSTS only in the image), or the Resource field could be extended to include only a more specific endpoint (i.e. https://my-api.com/v2/order/DE/shipping vs https://my-api.com/v2/order ).

Analytics will be captured distinctly for each source you create, so if you wished to store analytics on GET transactions separately from POST transactions, you could do so by cloning the source below and changing only the method.

4. Review Analytics Transactions in Revenium

  • Abnormal transaction latency or error rates

  • The API experience by customer, which helps to identify if API-problems are customer-specific or global

  • Compare performance over different periods of time, which helps to quickly identify the effects of code changes on the customer experience

  • View traffic by geography to understand how performance varies depending on the location of your customers

5. Set Up Alerting for API Performance & Availability

  • alerts for slow application or gateway response times

  • for APIs that stop processing traffic

  • for abnormal error rates

Each of these alerts can be configured globally (across all data sources) on configured on each source individually.

Use one of our API gateway connectors to begin sending performance data to Revenium. If you want to send transactions with analytics data to Revenium via the command line, you can .

Within 2 minutes of sending transaction data to Revenium, the transactions will be visible in the section of Revenium. API calls to Revenium's metering API that return a 400 or 500 response will provide troubleshooting information in the API response. For any transactions successfully sent to Revenium, you will also find informational logs in the .

Once step #2 has completed successfully, all of reporting will be generated and automatically updated as new transactions are generated from your system. Once setup, you will be able to report on the following:

Revenium allows you to set up for a variety of performance conditions. For example, you can configure:

If your API Sources will be added to for usage-based billing, you can also follow the guide for .

analytics logs
System Logs
Revenium's API Analytics
alerting
Products
setting up Product Analytics
connectors
product analytics guide
in this section
see example here
use the examples here
Figure 1: Example of an API data source