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
  1. User Guide
  2. Connect Your Data
  3. Salesforce
  4. Revenium Lightning Web Components

Usage History

The Usage History component displays relevant Subscription details of your APIs. In this guide, you will learn how to set it up and also get a recommendation for our preferred configuration.

The Usage History component provides a visual representation of API usage over a selected time range in the form of a bar chart, enabling users to monitor and analyze their API consumption trends.

Key Features

  1. Date Range Input

    • Users can select a date range using the From and To date pickers displayed at the top of the component.

  2. Dynamic Horizontal Axis Granularity

    • The horizontal axis automatically adjusts based on the selected time range to enhance readability:

      • ≤ 2 weeks: Displays daily data points.

      • > 2 weeks and ≤ 6 months: Aggregates and displays data by weeks.

      • > 6 months: Displays data aggregated by months.

  3. Data Retrieval

    • All usage data is retrieved from the GraphQL API, which uses the authenticated user's email address to fetch relevant API call statistics.

Additional Notes

  • The bar heights reflect the number of API calls made during the corresponding time intervals.

  • Ensure the user’s email address is accurately registered in the system to enable data fetching.

Detailed setup instructions for configuring this component in the user's commerce portal will be provided below.

Setup instructions

Name
URL
API Name

Usage History

/usage-history

Usage_History

Table 1. Usage History page configuration.

Finally, drag and drop the API Usage Analytics component on your new page, it is recommended to add it to the second slot of the 1 full-width column layout. One possible layout design of this page is shown in Figure 1.

Finally, keep in mind that this component can be added anywhere inside your commerce portal.

Last updated 5 months ago

Inside your commerce portal create a new Blank Page called Usage History. More information on how to create custom pages can be found . Choose your preferred layout, it is recommended to set it layout as 1 full-width column. Set the configuration of the page, as described in Table 1.

Figure 1. Product usage history component.
site's builder,
in this link