diff --git a/content/en/docs/collector/internal-telemetry.md b/content/en/docs/collector/internal-telemetry.md index 7beaf9783c45..f5c3524e76db 100644 --- a/content/en/docs/collector/internal-telemetry.md +++ b/content/en/docs/collector/internal-telemetry.md @@ -238,43 +238,57 @@ files in the repository. #### `basic`-level metrics -| Metric name | Description | Type | -| ------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------- | -| `otelcol_exporter_enqueue_failed_`
`log_records` | Number of logs that exporter(s) failed to enqueue. | Counter | -| `otelcol_exporter_enqueue_failed_`
`metric_points` | Number of metric points that exporter(s) failed to enqueue. | Counter | -| `otelcol_exporter_enqueue_failed_`
`spans` | Number of spans that exporter(s) failed to enqueue. | Counter | -| `otelcol_exporter_queue_capacity` | Fixed capacity of the sending queue, in batches. | Gauge | -| `otelcol_exporter_queue_size` | Current size of the sending queue, in batches. | Gauge | -| `otelcol_exporter_send_failed_`
`log_records` | Number of logs that exporter(s) failed to send to destination. | Counter | -| `otelcol_exporter_send_failed_`
`metric_points` | Number of metric points that exporter(s) failed to send to destination. | Counter | -| `otelcol_exporter_send_failed_`
`spans` | Number of spans that exporter(s) failed to send to destination. | Counter | -| `otelcol_exporter_sent_log_records` | Number of logs successfully sent to destination. | Counter | -| `otelcol_exporter_sent_metric_points` | Number of metric points successfully sent to destination. | Counter | -| `otelcol_exporter_sent_spans` | Number of spans successfully sent to destination. | Counter | -| `otelcol_process_cpu_seconds` | Total CPU user and system time in seconds. | Counter | -| `otelcol_process_memory_rss` | Total physical memory (resident set size) in bytes. | Gauge | -| `otelcol_process_runtime_heap_`
`alloc_bytes` | Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc'). | Gauge | -| `otelcol_process_runtime_total_`
`alloc_bytes` | Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc'). | Counter | -| `otelcol_process_runtime_total_`
`sys_memory_bytes` | Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys'). | Gauge | -| `otelcol_process_uptime` | Uptime of the process in seconds. | Counter | -| `otelcol_processor_batch_batch_`
`send_size` | Number of units in the batch that was sent. | Histogram | -| `otelcol_processor_batch_batch_size_`
`trigger_send` | Number of times the batch was sent due to a size trigger. | Counter | -| `otelcol_processor_batch_metadata_`
`cardinality` | Number of distinct metadata value combinations being processed. | Counter | -| `otelcol_processor_batch_timeout_`
`trigger_send` | Number of times the batch was sent due to a timeout trigger. | Counter | -| `otelcol_processor_incoming_items` | Number of items passed to the processor. | Counter | -| `otelcol_processor_outgoing_items` | Number of items emitted from the processor. | Counter | -| `otelcol_receiver_accepted_`
`log_records` | Number of logs successfully ingested and pushed into the pipeline. | Counter | -| `otelcol_receiver_accepted_`
`metric_points` | Number of metric points successfully ingested and pushed into the pipeline. | Counter | -| `otelcol_receiver_accepted_spans` | Number of spans successfully ingested and pushed into the pipeline. | Counter | -| `otelcol_receiver_refused_`
`log_records` | Number of logs that could not be pushed into the pipeline. | Counter | -| `otelcol_receiver_refused_`
`metric_points` | Number of metric points that could not be pushed into the pipeline. | Counter | -| `otelcol_receiver_refused_spans` | Number of spans that could not be pushed into the pipeline. | Counter | -| `otelcol_scraper_errored_`
`metric_points` | Number of metric points the Collector failed to scrape. | Counter | -| `otelcol_scraper_scraped_`
`metric_points` | Number of metric points scraped by the Collector. | Counter | +| Metric name | Description | Type | +| ------------------------------------------------------ | --------------------------------------------------------------------------------------- | ------- | +| `otelcol_exporter_enqueue_failed_`
`log_records` | Number of logs that exporter(s) failed to enqueue. | Counter | +| `otelcol_exporter_enqueue_failed_`
`metric_points` | Number of metric points that exporter(s) failed to enqueue. | Counter | +| `otelcol_exporter_enqueue_failed_`
`spans` | Number of spans that exporter(s) failed to enqueue. | Counter | +| `otelcol_exporter_queue_capacity` | Fixed capacity of the sending queue, in batches. | Gauge | +| `otelcol_exporter_queue_size` | Current size of the sending queue, in batches. | Gauge | +| `otelcol_exporter_send_failed_`
`log_records` | Number of logs that exporter(s) failed to send to destination. | Counter | +| `otelcol_exporter_send_failed_`
`metric_points` | Number of metric points that exporter(s) failed to send to destination. | Counter | +| `otelcol_exporter_send_failed_`
`spans` | Number of spans that exporter(s) failed to send to destination. | Counter | +| `otelcol_exporter_sent_log_records` | Number of logs successfully sent to destination. | Counter | +| `otelcol_exporter_sent_metric_points` | Number of metric points successfully sent to destination. | Counter | +| `otelcol_exporter_sent_spans` | Number of spans successfully sent to destination. | Counter | +| `otelcol_process_cpu_seconds` | Total CPU user and system time in seconds. | Counter | +| `otelcol_process_memory_rss` | Total physical memory (resident set size) in bytes. | Gauge | +| `otelcol_process_runtime_heap_`
`alloc_bytes` | Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc'). | Gauge | +| `otelcol_process_runtime_total_`
`alloc_bytes` | Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc'). | Counter | +| `otelcol_process_runtime_total_`
`sys_memory_bytes` | Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys'). | Gauge | +| `otelcol_process_uptime` | Uptime of the process in seconds. | Counter | +| `otelcol_processor_incoming_items` | Number of items passed to the processor. | Counter | +| `otelcol_processor_outgoing_items` | Number of items emitted from the processor. | Counter | +| `otelcol_receiver_accepted_`
`log_records` | Number of logs successfully ingested and pushed into the pipeline. | Counter | +| `otelcol_receiver_accepted_`
`metric_points` | Number of metric points successfully ingested and pushed into the pipeline. | Counter | +| `otelcol_receiver_accepted_spans` | Number of spans successfully ingested and pushed into the pipeline. | Counter | +| `otelcol_receiver_refused_`
`log_records` | Number of logs that could not be pushed into the pipeline. | Counter | +| `otelcol_receiver_refused_`
`metric_points` | Number of metric points that could not be pushed into the pipeline. | Counter | +| `otelcol_receiver_refused_spans` | Number of spans that could not be pushed into the pipeline. | Counter | +| `otelcol_scraper_errored_`
`metric_points` | Number of metric points the Collector failed to scrape. | Counter | +| `otelcol_scraper_scraped_`
`metric_points` | Number of metric points scraped by the Collector. | Counter | #### Additional `normal`-level metrics -There are currently no metrics specific to `normal` verbosity. +| Metric name | Description | Type | +| ------------------------------------------------------- | --------------------------------------------------------------- | --------- | +| `otelcol_processor_batch_batch_`
`send_size` | Number of units in the batch that was sent. | Histogram | +| `otelcol_processor_batch_batch_size_`
`trigger_send` | Number of times the batch was sent due to a size trigger. | Counter | +| `otelcol_processor_batch_metadata_`
`cardinality` | Number of distinct metadata value combinations being processed. | Counter | +| `otelcol_processor_batch_timeout_`
`trigger_send` | Number of times the batch was sent due to a timeout trigger. | Counter | + +{{% alert title="Batch processor metrics level changes" color="info" %}} + +In Collector [v0.99.0], all batch processor metrics were upgraded from `basic` +to `normal` (current level), except for +`otelcol_processor_batch_batch_send_size_bytes`, which has been `detailed` since +its introduction. Note however that these metrics were inadvertently reverted to +`basic` from v0.109.0 to v0.121.0. + +[v0.99.0]: + https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.99.0 + +{{% /alert %}} #### Additional `detailed`-level metrics diff --git a/static/refcache.json b/static/refcache.json index 2ffa7ee46e16..382dc07475ca 100644 --- a/static/refcache.json +++ b/static/refcache.json @@ -6707,6 +6707,10 @@ "StatusCode": 200, "LastSeen": "2024-10-24T15:10:25.832305+02:00" }, + "https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.99.0": { + "StatusCode": 206, + "LastSeen": "2025-03-07T15:19:33.345532+01:00" + }, "https://github.com/open-telemetry/opentelemetry-collector/security/advisories/GHSA-c74f-6mfw-mm4v": { "StatusCode": 206, "LastSeen": "2025-02-01T07:10:33.83398-05:00"