---
title: "Get OTel pipeline statistics (admin/system view)."
method: GET
path: "/otel/pipeline-stats"
tags: ["OTel"]
---

# Get OTel pipeline statistics (admin/system view).

`GET /otel/pipeline-stats`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/otel/pipeline-stats`
- Auth: HTTP bearer

## Response `200`

Pipeline statistics

- PipelineStatsResponse
  - `stats` PipelineStats, required: Internal pipeline statistics for self-observability. All fields are cumulative process-lifetime counters. Every one of them is also sampled every 60 seconds by the plugin's stats sampler and written to the unified metrics store as a **delta** counter named `otel.<field>` (`SourceKind::Node`, node_id 0) — see `pipeline_stat_deltas` in `plugin.rs`. Adding a field here means adding it there too, otherwise the new counter is only ever visible through the API response.
    - `ingest_errors` integer, required
    - `logs_dropped` integer, required
    - `logs_received` integer, required
    - `logs_stored_db` integer, required
    - `logs_stored_s3` integer, required
    - `metrics_dropped` integer, required
    - `metrics_received` integer, required
    - `metrics_stored` integer, required
    - `quota_exceeded_requests` integer, required: Cumulative count of ingest requests rejected because the per-project storage quota was exceeded (→ HTTP 413). Written to the metrics store as `otel.quota_exceeded_requests` (SourceKind::Node, node_id 0) every 60s.
    - `rate_limited_requests` integer, required: Cumulative count of ingest requests rejected because the per-project rate limit was exceeded (→ HTTP 429). Written to the metrics store as `otel.rate_limited_requests` (SourceKind::Node, node_id 0) every 60s.
    - `relay_dropped_batches` integer, required: Cumulative count of best-effort relay batches rejected because the bounded relay handoff was saturated or closed.
    - `relay_dropped_items` integer, required: Cumulative signal-item count contained in rejected relay batches.
    - `spans_dropped` integer, required
    - `spans_received` integer, required
    - `spans_stored` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions

## Changes

- **2026-11-09** `12896146b193`: 2 breaking
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
- **2026-10-05** `4b228ebed583`: 2 info
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
- **2026-10-05** `63a80791dc58`: 2 warning
  - removed the optional property `status` from the response with the `401` status
  - removed the optional property `status` from the response with the `403` status
- **2026-09-23** `f4efc4d5c7b7`: 2 info
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
- **2026-09-07** `c2a1f69745e7`: 2 info
  - added the required property `stats/relay_dropped_batches` to the response with the `200` status
  - added the required property `stats/relay_dropped_items` to the response with the `200` status

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/otel/pipeline-stats/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
