Metrics and analytics
Pipelines expose metrics which allow you to measure data ingested, requests made, and data delivered.
The metrics displayed in the Cloudflare dashboard ↗ are queried from Cloudflare’s GraphQL Analytics API. You can access the metrics programmatically via GraphQL or HTTP client.
Pipelines export the below metrics within the pipelinesIngestionAdaptiveGroups
dataset.
Metric | GraphQL Field Name | Description |
---|---|---|
Ingestion Events | count | Number of ingestion events, or requests made, to a pipeline. |
Ingested Bytes | ingestedBytes | Total number of bytes ingested |
Ingested Records | ingestedRecords | Total number of records ingested |
The pipelinesIngestionAdaptiveGroups
dataset provides the following dimensions for filtering and grouping queries:
pipelineId
- ID of the pipelinedatetime
- Timestamp of the ingestion eventdate
- Timestamp of the ingestion event, truncated to the start of a daydatetimeHour
- Timestamp of the ingestion event, truncated to the start of an hourdatetimeMinute
- Timestamp of the ingestion event, truncated to the start of a minute
Pipelines export the below metrics within the pipelinesDeliveryAdaptiveGroups
dataset.
Metric | GraphQL Field Name | Description |
---|---|---|
Ingestion Events | count | Number of delivery events to an R2 bucket |
Delivered Bytes | deliveredBytes | Total number of bytes ingested |
The pipelinesDeliverynAdaptiveGroups
dataset provides the following dimensions for filtering and grouping queries:
pipelineId
- ID of the pipelinedatetime
- Timestamp of the delivery eventdate
- Timestamp of the delivery event, truncated to the start of a daydatetimeHour
- Timestamp of the delivery event, truncated to the start of an hourdatetimeMinute
- Timestamp of the delivery event, truncated to the start of a minute
You can programmatically query analytics for your pipelines via the GraphQL Analytics API. This API queries the same datasets as the Cloudflare dashboard and supports GraphQL introspection.
Pipelines GraphQL datasets require an accountTag
filter with your Cloudflare account ID.
query PipelineIngestion($accountTag: string!, $pipelineId: string!, $datetimeStart: Time!, $datetimeEnd: Time!) { viewer { accounts(filter: {accountTag: $accountTag}) { pipelinesIngestionAdaptiveGroups( limit: 10000 filter: { pipelineId: $pipelineId datetime_geq: $datetimeStart datetime_leq: $datetimeEnd }
) { sum { ingestedBytes, ingestedRecords, } } } }}
query PipelineDelivery($accountTag: string!, $pipelineId: string!, $datetimeStart: Time!, $datetimeEnd: Time!) { viewer { accounts(filter: {accountTag: $accountTag}) { pipelinesDeliveryAdaptiveGroups( limit: 10000 filter: { pipelineId: $pipelineId datetime_geq: $datetimeStart datetime_leq: $datetimeEnd } ) { sum { deliveredBytes, } } } }}
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark