Custom Metrics Collection Flow
📄️ Flow Example
Example Configuration
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
- Track API Call Sizes: Monitor API payload sizes to identify performance-impacting requests.
- Monitor Rate Limit Usage: Track remaining rate limits from responses to manage API consumption.
- Analyze Request Trends: Use custom labels to analyze traffic based on HTTP methods, URLs, or headers.
- Performance Metrics: Measure performance of API endpoints to optimize response times and reduce overhead.