diff --git a/.chloggen/expose_stability_lvl.yaml b/.chloggen/expose_stability_lvl.yaml new file mode 100644 index 00000000000..b3e92610478 --- /dev/null +++ b/.chloggen/expose_stability_lvl.yaml @@ -0,0 +1,25 @@ +# Use this changelog template to create an entry for release notes. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: enhancement + +# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver) +component: mdatagen + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Expose stability level in generated metric documentation + +# One or more tracking issues or pull requests related to the change +issues: [13748] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: + +# Optional: The change log or logs in which this entry should be included. +# e.g. '[user]' or '[user, api]' +# Include 'user' if the change is relevant to end users. +# Include 'api' if there is a change to a library API. +# Default: '[user]' +change_logs: [user] diff --git a/cmd/mdatagen/internal/samplereceiver/documentation.md b/cmd/mdatagen/internal/samplereceiver/documentation.md index 64856552e71..acf905fb866 100644 --- a/cmd/mdatagen/internal/samplereceiver/documentation.md +++ b/cmd/mdatagen/internal/samplereceiver/documentation.md @@ -192,17 +192,17 @@ The following telemetry is emitted by this component. Number of times the batch was sent due to a size trigger [deprecated since v0.110.0] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {times} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {times} | Sum | Int | true | deprecated | ### otelcol_process_runtime_total_alloc_bytes Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc') -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| By | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| By | Sum | Int | true | stable | ### otelcol_queue_capacity @@ -218,14 +218,14 @@ This metric is optional and therefore not initialized in NewTelemetryBuilder. [a For example this metric only exists if feature A is enabled. -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {items} | Gauge | Int | +| Unit | Metric Type | Value Type | Stability | +| ---- | ----------- | ---------- | --------- | +| {items} | Gauge | Int | alpha | ### otelcol_request_duration Duration of request [alpha] -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| s | Histogram | Double | +| Unit | Metric Type | Value Type | Stability | +| ---- | ----------- | ---------- | --------- | +| s | Histogram | Double | alpha | diff --git a/cmd/mdatagen/internal/samplescraper/documentation.md b/cmd/mdatagen/internal/samplescraper/documentation.md index 6e0e585ba98..5044a8669ef 100644 --- a/cmd/mdatagen/internal/samplescraper/documentation.md +++ b/cmd/mdatagen/internal/samplescraper/documentation.md @@ -46,9 +46,9 @@ The metric will be removed soon. Monotonic cumulative sum int metric with string input_type enabled by default. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| s | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| s | Sum | Int | Cumulative | true | beta | #### Attributes @@ -90,9 +90,9 @@ metrics: [DEPRECATED] Gauge double metric disabled by default. -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| | Gauge | Double | +| Unit | Metric Type | Value Type | Stability | +| ---- | ----------- | ---------- | --------- | +| | Gauge | Double | deprecated | #### Attributes diff --git a/cmd/mdatagen/internal/samplescraper/metadata.yaml b/cmd/mdatagen/internal/samplescraper/metadata.yaml index 01105f11de0..efb1a963bb9 100644 --- a/cmd/mdatagen/internal/samplescraper/metadata.yaml +++ b/cmd/mdatagen/internal/samplescraper/metadata.yaml @@ -125,6 +125,8 @@ metrics: optional.metric.empty_unit: enabled: false + stability: + level: deprecated description: "[DEPRECATED] Gauge double metric disabled by default." unit: "" gauge: @@ -147,6 +149,8 @@ metrics: metric.input_type: enabled: true + stability: + level: beta description: Monotonic cumulative sum int metric with string input_type enabled by default. unit: s sum: diff --git a/cmd/mdatagen/internal/templates/documentation.md.tmpl b/cmd/mdatagen/internal/templates/documentation.md.tmpl index 3adbc5ca837..abdca112594 100644 --- a/cmd/mdatagen/internal/templates/documentation.md.tmpl +++ b/cmd/mdatagen/internal/templates/documentation.md.tmpl @@ -12,11 +12,12 @@ {{- end }} -| Unit | Metric Type | Value Type |{{ if $metric.Data.HasAggregated }} Aggregation Temporality |{{ end }}{{ if $metric.Data.HasMonotonic }} Monotonic |{{ end }} -| ---- | ----------- | ---------- |{{ if $metric.Data.HasAggregated }} ----------------------- |{{ end }}{{ if $metric.Data.HasMonotonic }} --------- |{{ end }} +| Unit | Metric Type | Value Type |{{ if $metric.Data.HasAggregated }} Aggregation Temporality |{{ end }}{{ if $metric.Data.HasMonotonic }} Monotonic |{{ end }}{{ if $metric.Stability.Level }} Stability |{{ end }} +| ---- | ----------- | ---------- |{{ if $metric.Data.HasAggregated }} ----------------------- |{{ end }}{{ if $metric.Data.HasMonotonic }} --------- |{{ end }}{{ if $metric.Stability.Level }} --------- |{{ end }} | {{ $metric.Unit }} | {{ $metric.Data.Type }} | {{ $metric.Data.MetricValueType }} | {{- if $metric.Data.HasAggregated }} {{ $metric.Data.AggregationTemporality }} |{{ end }} {{- if $metric.Data.HasMonotonic }} {{ $metric.Data.Monotonic }} |{{ end }} +{{- if $metric.Stability.Level }} {{ $metric.Stability.Level }} |{{ end }} {{- if $metric.Attributes }} @@ -78,10 +79,11 @@ {{- end }} -| Unit | Metric Type | Value Type |{{ if $metric.Data.HasMonotonic }} Monotonic |{{ end }} -| ---- | ----------- | ---------- |{{ if $metric.Data.HasMonotonic }} --------- |{{ end }} +| Unit | Metric Type | Value Type |{{ if $metric.Data.HasMonotonic }} Monotonic |{{ end }}{{ if $metric.Stability.Level }} Stability |{{ end }} +| ---- | ----------- | ---------- |{{ if $metric.Data.HasMonotonic }} --------- |{{ end }}{{ if $metric.Stability.Level }} --------- |{{ end }} | {{ $metric.Unit }} | {{ $metric.Data.Type }} | {{ $metric.Data.MetricValueType }} | {{- if $metric.Data.HasMonotonic }} {{ $metric.Data.Monotonic }} |{{ end }} +{{- if $metric.Stability.Level }} {{ $metric.Stability.Level }} |{{ end }} {{- if $metric.Attributes }} diff --git a/cmd/mdatagen/metadata-schema.yaml b/cmd/mdatagen/metadata-schema.yaml index 4de8ffc1e26..353cdb4c20b 100644 --- a/cmd/mdatagen/metadata-schema.yaml +++ b/cmd/mdatagen/metadata-schema.yaml @@ -118,6 +118,12 @@ metrics: input_type: string # Optional: array of attributes that were defined in the attributes section that are emitted by this metric. attributes: [string] + # Optional: the metric stability + stability: + # Optional: the level of stability + level: + # Optional: the version current stability was introduced + from: # Optional: map of event names with the key being the event name and value # being described below. diff --git a/exporter/exporterhelper/documentation.md b/exporter/exporterhelper/documentation.md index 1ff67867155..9b00977f9dc 100644 --- a/exporter/exporterhelper/documentation.md +++ b/exporter/exporterhelper/documentation.md @@ -10,25 +10,25 @@ The following telemetry is emitted by this component. Number of log records failed to be added to the sending queue. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {records} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {records} | Sum | Int | true | alpha | ### otelcol_exporter_enqueue_failed_metric_points Number of metric points failed to be added to the sending queue. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | alpha | ### otelcol_exporter_enqueue_failed_spans Number of spans failed to be added to the sending queue. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {spans} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {spans} | Sum | Int | true | alpha | ### otelcol_exporter_queue_batch_send_size @@ -50,62 +50,62 @@ Number of bytes in batch that was sent. Only available on detailed level. Fixed capacity of the retry queue (in batches). [alpha] -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {batches} | Gauge | Int | +| Unit | Metric Type | Value Type | Stability | +| ---- | ----------- | ---------- | --------- | +| {batches} | Gauge | Int | alpha | ### otelcol_exporter_queue_size Current size of the retry queue (in batches). [alpha] -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {batches} | Gauge | Int | +| Unit | Metric Type | Value Type | Stability | +| ---- | ----------- | ---------- | --------- | +| {batches} | Gauge | Int | alpha | ### otelcol_exporter_send_failed_log_records Number of log records in failed attempts to send to destination. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {records} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {records} | Sum | Int | true | alpha | ### otelcol_exporter_send_failed_metric_points Number of metric points in failed attempts to send to destination. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | alpha | ### otelcol_exporter_send_failed_spans Number of spans in failed attempts to send to destination. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {spans} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {spans} | Sum | Int | true | alpha | ### otelcol_exporter_sent_log_records Number of log record successfully sent to destination. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {records} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {records} | Sum | Int | true | alpha | ### otelcol_exporter_sent_metric_points Number of metric points successfully sent to destination. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | alpha | ### otelcol_exporter_sent_spans Number of spans successfully sent to destination. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {spans} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {spans} | Sum | Int | true | alpha | diff --git a/processor/memorylimiterprocessor/documentation.md b/processor/memorylimiterprocessor/documentation.md index c5c4b392a60..097eb98977a 100644 --- a/processor/memorylimiterprocessor/documentation.md +++ b/processor/memorylimiterprocessor/documentation.md @@ -10,46 +10,46 @@ The following telemetry is emitted by this component. Number of log records successfully pushed into the next component in the pipeline. [deprecated since v0.110.0] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {records} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {records} | Sum | Int | true | deprecated | ### otelcol_processor_accepted_metric_points Number of metric points successfully pushed into the next component in the pipeline. [deprecated since v0.110.0] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | deprecated | ### otelcol_processor_accepted_spans Number of spans successfully pushed into the next component in the pipeline. [deprecated since v0.110.0] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {spans} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {spans} | Sum | Int | true | deprecated | ### otelcol_processor_refused_log_records Number of log records that were rejected by the next component in the pipeline. [deprecated since v0.110.0] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {records} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {records} | Sum | Int | true | deprecated | ### otelcol_processor_refused_metric_points Number of metric points that were rejected by the next component in the pipeline. [deprecated since v0.110.0] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | deprecated | ### otelcol_processor_refused_spans Number of spans that were rejected by the next component in the pipeline. [deprecated since v0.110.0] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {spans} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {spans} | Sum | Int | true | deprecated | diff --git a/processor/processorhelper/documentation.md b/processor/processorhelper/documentation.md index 28ada41b36a..2fe9c273109 100644 --- a/processor/processorhelper/documentation.md +++ b/processor/processorhelper/documentation.md @@ -10,22 +10,22 @@ The following telemetry is emitted by this component. Number of items passed to the processor. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {items} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {items} | Sum | Int | true | alpha | ### otelcol_processor_internal_duration Duration of time taken to process a batch of telemetry data through the processor. [alpha] -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| s | Histogram | Double | +| Unit | Metric Type | Value Type | Stability | +| ---- | ----------- | ---------- | --------- | +| s | Histogram | Double | alpha | ### otelcol_processor_outgoing_items Number of items emitted from the processor. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {items} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {items} | Sum | Int | true | alpha | diff --git a/receiver/receiverhelper/documentation.md b/receiver/receiverhelper/documentation.md index 79b7b847827..ed266fae300 100644 --- a/receiver/receiverhelper/documentation.md +++ b/receiver/receiverhelper/documentation.md @@ -10,81 +10,81 @@ The following telemetry is emitted by this component. Number of log records successfully pushed into the pipeline. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {records} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {records} | Sum | Int | true | alpha | ### otelcol_receiver_accepted_metric_points Number of metric points successfully pushed into the pipeline. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | alpha | ### otelcol_receiver_accepted_spans Number of spans successfully pushed into the pipeline. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {spans} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {spans} | Sum | Int | true | alpha | ### otelcol_receiver_failed_log_records The number of log records that failed to be processed by the receiver due to internal errors. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {records} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {records} | Sum | Int | true | alpha | ### otelcol_receiver_failed_metric_points The number of metric points that failed to be processed by the receiver due to internal errors. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | alpha | ### otelcol_receiver_failed_spans The number of spans that failed to be processed by the receiver due to internal errors. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {spans} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {spans} | Sum | Int | true | alpha | ### otelcol_receiver_refused_log_records Number of log records that could not be pushed into the pipeline. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {records} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {records} | Sum | Int | true | alpha | ### otelcol_receiver_refused_metric_points Number of metric points that could not be pushed into the pipeline. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | alpha | ### otelcol_receiver_refused_spans Number of spans that could not be pushed into the pipeline. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {spans} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {spans} | Sum | Int | true | alpha | ### otelcol_receiver_requests The number of requests performed. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {requests} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {requests} | Sum | Int | true | alpha | #### Attributes diff --git a/scraper/scraperhelper/documentation.md b/scraper/scraperhelper/documentation.md index abe567b3b78..caf74536bc7 100644 --- a/scraper/scraperhelper/documentation.md +++ b/scraper/scraperhelper/documentation.md @@ -10,30 +10,30 @@ The following telemetry is emitted by this component. Number of log records that were unable to be scraped. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | alpha | ### otelcol_scraper_errored_metric_points Number of metric points that were unable to be scraped. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | alpha | ### otelcol_scraper_scraped_log_records Number of log records successfully scraped. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | alpha | ### otelcol_scraper_scraped_metric_points Number of metric points successfully scraped. [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| {datapoints} | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| {datapoints} | Sum | Int | true | alpha | diff --git a/service/documentation.md b/service/documentation.md index 85ce6836f1f..de9fa2e70f7 100644 --- a/service/documentation.md +++ b/service/documentation.md @@ -34,49 +34,49 @@ Number of items passed to the exporter. Total CPU user and system time in seconds [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| s | Sum | Double | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| s | Sum | Double | true | alpha | ### otelcol_process_memory_rss Total physical memory (resident set size) [alpha] -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | +| Unit | Metric Type | Value Type | Stability | +| ---- | ----------- | ---------- | --------- | +| By | Gauge | Int | alpha | ### otelcol_process_runtime_heap_alloc_bytes Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc') [alpha] -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | +| Unit | Metric Type | Value Type | Stability | +| ---- | ----------- | ---------- | --------- | +| By | Gauge | Int | alpha | ### otelcol_process_runtime_total_alloc_bytes Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc') [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| By | Sum | Int | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| By | Sum | Int | true | alpha | ### otelcol_process_runtime_total_sys_memory_bytes Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys') [alpha] -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | +| Unit | Metric Type | Value Type | Stability | +| ---- | ----------- | ---------- | --------- | +| By | Gauge | Int | alpha | ### otelcol_process_uptime Uptime of the process [alpha] -| Unit | Metric Type | Value Type | Monotonic | -| ---- | ----------- | ---------- | --------- | -| s | Sum | Double | true | +| Unit | Metric Type | Value Type | Monotonic | Stability | +| ---- | ----------- | ---------- | --------- | --------- | +| s | Sum | Double | true | alpha | ### otelcol.processor.consumed.items