Skip to main content
The Event Monitoring endpoint helps you track event ingestion and processing in real-time, allowing you to identify bottlenecks and ensure events are flowing correctly through your system.

API Endpoint

GET https://api.cloud.flexprice.io/v1/events/monitoring

Authentication

Include your API key in the request header:
x-api-key: <your_api_key>

Request Parameters

This endpoint accepts no query parameters. It automatically monitors the last 24 hours of data for your tenant and environment.

Response

{
  "total_count": 15432,
  "consumption_lag": 245,
  "post_processing_lag": 78
}
Response Fields:
  • total_count - Total distinct events stored in ClickHouse in the last 24 hours
  • consumption_lag - Kafka consumer lag for event processing (number of unprocessed messages)
  • post_processing_lag - Kafka consumer lag for feature usage tracking (number of unprocessed messages)