Skip to main content
Version: Next

Custom Metrics Collection Flow

Flow Diagram

The Custom Metrics Collector Flow tracks user-defined metrics for API requests and responses, such as request size or rate limits. This flow helps monitor API performance and usage patterns in real-time, offering flexibility with histograms, gauges, and other metric types.

Scenarios

  1. Track API Call Sizes: Monitor API payload sizes to identify performance-impacting requests.
  2. Monitor Rate Limit Usage: Track remaining rate limits from responses to manage API consumption.
  3. Analyze Request Trends: Use custom labels to analyze traffic based on HTTP methods, URLs, or headers.
  4. Performance Metrics: Measure performance of API endpoints to optimize response times and reduce overhead.