-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue #33464 [processor/groupbytrace] migrate from opencensus lib…
…rary (#33770) This PR migrates the internal metrics from opencensus for the groupbytrace processor to Opentelemetry for metrics, via mdatagen. Used metadata.Telemetrybuilder and replaced all metrices from metrics file to metadata.yaml file. Updated tests to move from opencensus. Fixes [#33464](#33464) Testing: Unit tests Documentation: Documentation generated by metadata.yaml. --------- Signed-off-by: Alex Boten <[email protected]> Co-authored-by: Alex Boten <[email protected]>
- Loading branch information
1 parent
475960c
commit fa987c3
Showing
18 changed files
with
473 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
[comment]: <> (Code generated by mdatagen. DO NOT EDIT.) | ||
|
||
# groupbytrace | ||
|
||
## Internal Telemetry | ||
|
||
The following telemetry is emitted by this component. | ||
|
||
### processor_groupbytrace_conf_num_traces | ||
|
||
Maximum number of traces to hold in the internal storage | ||
|
||
| Unit | Metric Type | Value Type | | ||
| ---- | ----------- | ---------- | | ||
| 1 | Gauge | Int | | ||
|
||
### processor_groupbytrace_event_latency | ||
|
||
How long the queue events are taking to be processed | ||
|
||
| Unit | Metric Type | Value Type | | ||
| ---- | ----------- | ---------- | | ||
| ms | Histogram | Int | | ||
|
||
### processor_groupbytrace_incomplete_releases | ||
|
||
Releases that are suspected to have been incomplete | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| <nil> | Sum | Int | true | | ||
|
||
### processor_groupbytrace_num_events_in_queue | ||
|
||
Number of events currently in the queue | ||
|
||
| Unit | Metric Type | Value Type | | ||
| ---- | ----------- | ---------- | | ||
| 1 | Gauge | Int | | ||
|
||
### processor_groupbytrace_num_traces_in_memory | ||
|
||
Number of traces currently in the in-memory storage | ||
|
||
| Unit | Metric Type | Value Type | | ||
| ---- | ----------- | ---------- | | ||
| 1 | Gauge | Int | | ||
|
||
### processor_groupbytrace_spans_released | ||
|
||
Spans released to the next consumer | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| 1 | Sum | Int | true | | ||
|
||
### processor_groupbytrace_traces_evicted | ||
|
||
Traces evicted from the internal buffer | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| 1 | Sum | Int | true | | ||
|
||
### processor_groupbytrace_traces_released | ||
|
||
Traces released to the next consumer | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| 1 | Sum | Int | true | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.