Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiverhelper] Update metric units #10657

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
12 changes: 6 additions & 6 deletions receiver/receiverhelper/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,44 @@ Number of log records successfully pushed into the pipeline.

| Unit | Metric Type | Value Type | Monotonic |
| ---- | ----------- | ---------- | --------- |
| 1 | Sum | Int | true |
| {records} | Sum | Int | true |

### otelcol_receiver_accepted_metric_points

Number of metric points successfully pushed into the pipeline.

| Unit | Metric Type | Value Type | Monotonic |
| ---- | ----------- | ---------- | --------- |
| 1 | Sum | Int | true |
| {datapoints} | Sum | Int | true |

### otelcol_receiver_accepted_spans

Number of spans successfully pushed into the pipeline.

| Unit | Metric Type | Value Type | Monotonic |
| ---- | ----------- | ---------- | --------- |
| 1 | Sum | Int | true |
| {spans} | Sum | Int | true |

### otelcol_receiver_refused_log_records

Number of log records that could not be pushed into the pipeline.

| Unit | Metric Type | Value Type | Monotonic |
| ---- | ----------- | ---------- | --------- |
| 1 | Sum | Int | true |
| {records} | Sum | Int | true |

### otelcol_receiver_refused_metric_points

Number of metric points that could not be pushed into the pipeline.

| Unit | Metric Type | Value Type | Monotonic |
| ---- | ----------- | ---------- | --------- |
| 1 | Sum | Int | true |
| {datapoints} | Sum | Int | true |

### otelcol_receiver_refused_spans

Number of spans that could not be pushed into the pipeline.

| Unit | Metric Type | Value Type | Monotonic |
| ---- | ----------- | ---------- | --------- |
| 1 | Sum | Int | true |
| {spans} | Sum | Int | true |

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

12 changes: 6 additions & 6 deletions receiver/receiverhelper/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,47 @@ telemetry:
receiver_accepted_spans:
enabled: true
description: Number of spans successfully pushed into the pipeline.
unit: "1"
unit: "{spans}"
sum:
value_type: int
monotonic: true

receiver_refused_spans:
enabled: true
description: Number of spans that could not be pushed into the pipeline.
unit: "1"
unit: "{spans}"
sum:
value_type: int
monotonic: true

receiver_accepted_metric_points:
enabled: true
description: Number of metric points successfully pushed into the pipeline.
unit: "1"
unit: "{datapoints}"
sum:
value_type: int
monotonic: true

receiver_refused_metric_points:
enabled: true
description: Number of metric points that could not be pushed into the pipeline.
unit: "1"
unit: "{datapoints}"
sum:
value_type: int
monotonic: true

receiver_accepted_log_records:
enabled: true
description: Number of log records successfully pushed into the pipeline.
unit: "1"
unit: "{records}"
sum:
value_type: int
monotonic: true

receiver_refused_log_records:
enabled: true
description: Number of log records that could not be pushed into the pipeline.
unit: "1"
unit: "{records}"
sum:
value_type: int
monotonic: true
Loading