forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] update solace receiver to use mdatagen (open-telemetry#33582)
This updates the code that was using OpenCensus to use mdatagen + otel Fixes open-telemetry#33468 --------- Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
- Loading branch information
1 parent
0cf9240
commit ca91220
Showing
19 changed files
with
1,410 additions
and
588 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,111 @@ | ||
[comment]: <> (Code generated by mdatagen. DO NOT EDIT.) | ||
|
||
# solace | ||
|
||
## Internal Telemetry | ||
|
||
The following telemetry is emitted by this component. | ||
|
||
### solacereceiver_dropped_egress_spans | ||
|
||
Number of dropped egress spans | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| 1 | Sum | Int | true | | ||
|
||
### solacereceiver_dropped_span_messages | ||
|
||
Number of dropped span messages | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| 1 | Sum | Int | true | | ||
|
||
### solacereceiver_failed_reconnections | ||
|
||
Number of failed broker reconnections | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| 1 | Sum | Int | true | | ||
|
||
### solacereceiver_fatal_unmarshalling_errors | ||
|
||
Number of fatal message unmarshalling errors | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| 1 | Sum | Int | true | | ||
|
||
### solacereceiver_need_upgrade | ||
|
||
Indicates with value 1 that receiver requires an upgrade and is not compatible with messages received from a broker | ||
|
||
| Unit | Metric Type | Value Type | | ||
| ---- | ----------- | ---------- | | ||
| 1 | Gauge | Int | | ||
|
||
### solacereceiver_received_span_messages | ||
|
||
Number of received span messages | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| 1 | Sum | Int | true | | ||
|
||
### solacereceiver_receiver_flow_control_recent_retries | ||
|
||
Most recent/current retry count when flow controlled | ||
|
||
| Unit | Metric Type | Value Type | | ||
| ---- | ----------- | ---------- | | ||
| 1 | Gauge | Int | | ||
|
||
### solacereceiver_receiver_flow_control_status | ||
|
||
Indicates the flow control status of the receiver. 0 = not flow controlled, 1 = currently flow controlled | ||
|
||
| Unit | Metric Type | Value Type | | ||
| ---- | ----------- | ---------- | | ||
| 1 | Gauge | Int | | ||
|
||
### solacereceiver_receiver_flow_control_total | ||
|
||
Number of times the receiver instance became flow controlled | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| 1 | Sum | Int | true | | ||
|
||
### solacereceiver_receiver_flow_control_with_single_successful_retry | ||
|
||
Number of times the receiver instance became flow controlled and resolved situations after the first retry | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| 1 | Sum | Int | true | | ||
|
||
### solacereceiver_receiver_status | ||
|
||
Indicates the status of the receiver as an enum. 0 = starting, 1 = connecting, 2 = connected, 3 = disabled (often paired with needs_upgrade), 4 = terminating, 5 = terminated | ||
|
||
| Unit | Metric Type | Value Type | | ||
| ---- | ----------- | ---------- | | ||
| 1 | Gauge | Int | | ||
|
||
### solacereceiver_recoverable_unmarshalling_errors | ||
|
||
Number of recoverable message unmarshalling errors | ||
|
||
| Unit | Metric Type | Value Type | Monotonic | | ||
| ---- | ----------- | ---------- | --------- | | ||
| 1 | Sum | Int | true | | ||
|
||
### solacereceiver_reported_spans | ||
|
||
Number of reported spans | ||
|
||
| 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
76 changes: 76 additions & 0 deletions
76
receiver/solacereceiver/generated_component_telemetry_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.