Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .chloggen/jamie.rename-memlimit.yaml
Original file line number Diff line number Diff line change
@@ -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: bug_fix

# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
component: memorylimiterprocessor

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Deprecated metrics used exclusively in memory limiter processor now have an infix of `memory_limiter`. For example, `otelcol_processor_accepted_spans` is now `otelcol_processor_memory_limiter_accepted_spans`.

# One or more tracking issues or pull requests related to the change
issues: [11585]

# (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: []
36 changes: 18 additions & 18 deletions processor/memorylimiterprocessor/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,50 +6,50 @@

The following telemetry is emitted by this component.

### otelcol_processor_accepted_log_records
### otelcol_processor_memory_limiter_accepted_log_records

Number of log records successfully pushed into the next component in the pipeline. [deprecated since v0.110.0]
Number of log records successfully pushed into the next component in the pipeline. [alpha since v0.137.0]

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {records} | Sum | Int | true | deprecated |
| {records} | Sum | Int | true | alpha |

### otelcol_processor_accepted_metric_points
### otelcol_processor_memory_limiter_accepted_metric_points

Number of metric points successfully pushed into the next component in the pipeline. [deprecated since v0.110.0]
Number of metric points successfully pushed into the next component in the pipeline. [alpha since v0.137.0]

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {datapoints} | Sum | Int | true | deprecated |
| {datapoints} | Sum | Int | true | alpha |

### otelcol_processor_accepted_spans
### otelcol_processor_memory_limiter_accepted_spans

Number of spans successfully pushed into the next component in the pipeline. [deprecated since v0.110.0]
Number of spans successfully pushed into the next component in the pipeline. [alpha since v0.137.0]

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {spans} | Sum | Int | true | deprecated |
| {spans} | Sum | Int | true | alpha |

### otelcol_processor_refused_log_records
### otelcol_processor_memory_limiter_refused_log_records

Number of log records that were rejected by the next component in the pipeline. [deprecated since v0.110.0]
Number of log records that were rejected by the next component in the pipeline. [alpha since v0.137.0]

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {records} | Sum | Int | true | deprecated |
| {records} | Sum | Int | true | alpha |

### otelcol_processor_refused_metric_points
### otelcol_processor_memory_limiter_refused_metric_points

Number of metric points that were rejected by the next component in the pipeline. [deprecated since v0.110.0]
Number of metric points that were rejected by the next component in the pipeline. [alpha since v0.137.0]

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {datapoints} | Sum | Int | true | deprecated |
| {datapoints} | Sum | Int | true | alpha |

### otelcol_processor_refused_spans
### otelcol_processor_memory_limiter_refused_spans

Number of spans that were rejected by the next component in the pipeline. [deprecated since v0.110.0]
Number of spans that were rejected by the next component in the pipeline. [alpha since v0.137.0]

| Unit | Metric Type | Value Type | Monotonic | Stability |
| ---- | ----------- | ---------- | --------- | --------- |
| {spans} | Sum | Int | true | deprecated |
| {spans} | Sum | Int | true | alpha |

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion processor/memorylimiterprocessor/memorylimiter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func TestMetricsTelemetry(t *testing.T) {
}
require.NoError(t, metrics.Shutdown(context.Background()))

metadatatest.AssertEqualProcessorAcceptedMetricPoints(t, tel,
metadatatest.AssertEqualProcessorMemoryLimiterAcceptedMetricPoints(t, tel,
[]metricdata.DataPoint[int64]{
{
Value: 10,
Expand Down
Loading
Loading