Skip to content

Commit

Permalink
flinkmetricsreceiver: add attribute values to metadata (#11520)
Browse files Browse the repository at this point in the history
* add attribute values

* add changelog
  • Loading branch information
JonathanWamsley authored Jun 24, 2022
1 parent 1c70a76 commit c3a87a1
Show file tree
Hide file tree
Showing 10 changed files with 897 additions and 894 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

### 💡 Enhancements 💡

- `flinkmetricsreceiver`: add attribute values to metadata #11520
- `prometheusreceiver`: Add `target_info` labels to resource attributes. (#11034)
- `saphanareceiver`: Fix component memory query, add better error handling (#11507)
- `sapmexporter`: Add config option to log responses from Splunk APM. (#11425)
Expand Down
4 changes: 2 additions & 2 deletions receiver/flinkmetricsreceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ metrics:
| Name | Description | Values |
| ---- | ----------- | ------ |
| checkpoint | The number of checkpoints completed or that failed. | completed, failed |
| garbage_collector_name | The names for the parallel scavenge and garbage first garbage collectors. | PS_MarkSweep, PS_Scavenge, G1_Young_Generation, G1_Old_Generation |
| operator_name | The operator name. | |
| garbage_collector_name (name) | The names for the parallel scavenge and garbage first garbage collectors. | PS_MarkSweep, PS_Scavenge, G1_Young_Generation, G1_Old_Generation |
| operator_name (name) | The operator name. | |
| record | The number of records received in, sent out or dropped due to arriving late. | in, out, dropped |

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

2 changes: 2 additions & 0 deletions receiver/flinkmetricsreceiver/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ resource_attributes:

attributes:
operator_name:
value: name
description: The operator name.
type: string
garbage_collector_name:
value: name
description: The names for the parallel scavenge and garbage first garbage collectors.
type: string
enum: [ PS_MarkSweep, PS_Scavenge, G1_Young_Generation, G1_Old_Generation ]
Expand Down
Loading

0 comments on commit c3a87a1

Please sign in to comment.