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

[processor/groupbytrace] Update metric units #34167

Closed
wants to merge 2 commits into from
Closed
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
14 changes: 7 additions & 7 deletions processor/groupbytraceprocessor/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ Maximum number of traces to hold in the internal storage

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| 1 | Gauge | Int |
| {traces} | Gauge | Int |

### otelcol_processor_groupbytrace_event_latency

How long the queue events are taking to be processed

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| ms | Histogram | Int |
| {ms} | Histogram | Int |

### otelcol_processor_groupbytrace_incomplete_releases

Expand All @@ -36,36 +36,36 @@ Number of events currently in the queue

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| 1 | Gauge | Int |
| {events} | Gauge | Int |

### otelcol_processor_groupbytrace_num_traces_in_memory

Number of traces currently in the in-memory storage

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| 1 | Gauge | Int |
| {traces} | Gauge | Int |

### otelcol_processor_groupbytrace_spans_released

Spans released to the next consumer

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

### otelcol_processor_groupbytrace_traces_evicted

Traces evicted from the internal buffer

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

### otelcol_processor_groupbytrace_traces_released

Traces released to the next consumer

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

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

14 changes: 7 additions & 7 deletions processor/groupbytraceprocessor/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,39 +19,39 @@ telemetry:
processor_groupbytrace_conf_num_traces:
enabled: true
description: Maximum number of traces to hold in the internal storage
unit: "1"
unit: "{traces}"
gauge:
value_type: int
processor_groupbytrace_num_events_in_queue:
enabled: true
description: Number of events currently in the queue
unit: "1"
unit: "{events}"
gauge:
value_type: int
processor_groupbytrace_num_traces_in_memory:
enabled: true
description: Number of traces currently in the in-memory storage
unit: "1"
unit: "{traces}"
gauge:
value_type: int
processor_groupbytrace_traces_evicted:
enabled: true
description: Traces evicted from the internal buffer
unit: "1"
unit: "{traces}"
sum:
value_type: int
monotonic: true
processor_groupbytrace_spans_released:
enabled: true
description: Spans released to the next consumer
unit: "1"
unit: "{spans}"
sum:
value_type: int
monotonic: true
processor_groupbytrace_traces_released:
enabled: true
description: Traces released to the next consumer
unit: "1"
unit: "{traces}"
sum:
value_type: int
monotonic: true
Expand All @@ -64,7 +64,7 @@ telemetry:
processor_groupbytrace_event_latency:
enabled: true
description: How long the queue events are taking to be processed
unit: ms
unit: "{ms}"
histogram:
value_type: int
bucket_boundaries: [5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000]
Expand Down
Loading