Query Ingestion Measurements
Query accepted and dropped ingestion counts and bytes by signal and pipeline stage.
Use ingestion measurements to inspect accepted and dropped data volumes by workload, namespace, source, and other dimensions.
Endpoints
Search ingestion measurements
POST /api/ingestion-measurements/search
Query a time series
POST /api/ingestion-measurements/search-time-series
Authentication
Send an API key in Authorization: Bearer <YOUR_API_KEY> and select the backend with X-Backend-Id: <YOUR_BACKEND_ID>. Self-hosted deployments use their own API base URL.
Request Body
start, end
string
Time range in RFC3339 format.
query
string
gcQL containing one top-level signal_type equality filter and one top-level pipeline_stage equality filter.
pipeline
object
Alternative structured query. Supply exactly one of query or pipeline. The same mandatory filters apply.
sources
array
Optional structured scope conditions.
filters
string
Optional additional filters.
bucketDuration
string
Required for time series; at least 10m.
valueField
string
Numeric result alias to chart.
fillValue
number
Optional replacement for empty time buckets; defaults to null.
Use a search window of at least 10 minutes, and a time-series bucket of at least 10 minutes. Smaller windows or rollups return HTTP 400.
Examples below select signal_type:logs and pipeline_stage:storage. Replace those values with the signal and stage you want to inspect, keeping both filters at the top level of the query. Use explicit sums of counters to distinguish accepted counts, dropped counts, and bytes.
Example: Accepted and Dropped Logs
The response has a data array of query rows and valueFieldHints, the names of numeric columns. For example:
The response values above are illustrative.
Example: Accepted Bytes over Time
The response is a time-series array containing metric labels and velocity points. The endpoint adds the time buckets to the aggregation. Historical requests can exclude an unfinished trailing bucket. See Time-Series Queries.
Errors
Missing or duplicate mandatory filters, supplying both query forms, invalid gcQL, and windows or buckets below 10 minutes return HTTP 400. A backend without ingestion-measurement support returns 404.
Last updated
