[comment]: <> (Code generated by mdatagen. DO NOT EDIT.)

# exporterhelper

## Internal Telemetry

The following telemetry is emitted by this component.

### otelcol_exporter_enqueue_failed_log_records

Number of log records failed to be added to the sending queue.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {record} | Sum | Int | true | Alpha |

### otelcol_exporter_enqueue_failed_metric_points

Number of metric points failed to be added to the sending queue.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {datapoint} | Sum | Int | true | Alpha |

### otelcol_exporter_enqueue_failed_profile_samples

Number of profile samples failed to be added to the sending queue.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {sample} | Sum | Int | true | Development |

### otelcol_exporter_enqueue_failed_spans

Number of spans failed to be added to the sending queue.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {span} | Sum | Int | true | Alpha |

### otelcol_exporter_queue_batch_send_size

Number of units in the batch

| Unit | Metric Type | Value Type | Stability |
| ---- | ----------- | ---------- | --------- |
| {unit} | Histogram | Int | Development |

### otelcol_exporter_queue_batch_send_size_bytes

Number of bytes in batch that was sent. Only available on detailed level.

| Unit | Metric Type | Value Type | Stability |
| ---- | ----------- | ---------- | --------- |
| By | Histogram | Int | Development |

### otelcol_exporter_queue_capacity

Fixed capacity of the retry queue (in batches).

| Unit | Metric Type | Value Type | Stability |
| ---- | ----------- | ---------- | --------- |
| {batch} | Gauge | Int | Alpha |

### otelcol_exporter_queue_size

Current size of the retry queue (in batches).

| Unit | Metric Type | Value Type | Stability |
| ---- | ----------- | ---------- | --------- |
| {batch} | Gauge | Int | Alpha |

### otelcol_exporter_send_failed_log_records

Number of log records in failed attempts to send to destination. At detailed telemetry level, includes attributes: error.type (semantic convention), error.permanent.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {record} | Sum | Int | true | Alpha |

### otelcol_exporter_send_failed_metric_points

Number of metric points in failed attempts to send to destination. At detailed telemetry level, includes attributes: error.type (semantic convention), error.permanent.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {datapoint} | Sum | Int | true | Alpha |

### otelcol_exporter_send_failed_profile_samples

Number of profile samples in failed attempts to send to destination. At detailed telemetry level, includes attributes: error.type (semantic convention), error.permanent.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {sample} | Sum | Int | true | Development |

### otelcol_exporter_send_failed_spans

Number of spans in failed attempts to send to destination. At detailed telemetry level, includes attributes: error.type (semantic convention), error.permanent.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {span} | Sum | Int | true | Alpha |

### otelcol_exporter_sent_log_records

Number of log record successfully sent to destination.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {record} | Sum | Int | true | Alpha |

### otelcol_exporter_sent_metric_points

Number of metric points successfully sent to destination.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {datapoint} | Sum | Int | true | Alpha |

### otelcol_exporter_sent_profile_samples

Number of profile samples successfully sent to destination.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {sample} | Sum | Int | true | Development |

### otelcol_exporter_sent_spans

Number of spans successfully sent to destination.

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {span} | Sum | Int | true | Alpha |

## Feature Gates

This component has the following feature gates:

| Feature Gate | Stage | Description | From Version | To Version | Reference |
| ------------ | ----- | ----------- | ------------ | ---------- | --------- |
| `exporter.PersistRequestContext` | beta | controls whether context should be stored alongside requests in the persistent queue | v0.128.0 | N/A | [Link](https://github.com/open-telemetry/opentelemetry-collector/pull/13188) |

For more information about feature gates, see the [Feature Gates](https://github.com/open-telemetry/opentelemetry-collector/blob/main/featuregate/README.md) documentation.
