Commit b3cebce
authored
[receiver/hostmetrics] Enable re-aggregation for process scraper (#46752)
### Description
Enable the re-aggregation feature for the `process` scraper within the
`hostmetrics` receiver.
**Changes made:**
- Added `reaggregation_enabled: true` to `metadata.yaml` for the process
scraper
- Added `requirement_level: recommended` to all metric attributes
(`context_switch_type`, `direction`, `paging_fault_type`, `state`)
- Ran `make generate` to update the generated metrics and configuration
files
### Link to tracking issues
Resolves #46623
Part of #46386
### Testing
- Ran `make generate` successfully
- Ran `make fmt` and `make lint` in the receiver module
- Executed `go test ./...` in the `processscraper` and parent
`hostmetricsreceiver` directories (all passed)1 parent a914ed7 commit b3cebce
File tree
9 files changed
+1325
-253
lines changed- .chloggen
- receiver/hostmetricsreceiver/internal/scraper/processscraper
- internal/metadata
- testdata
9 files changed
+1325
-253
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 96 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
14 | 30 | | |
15 | 31 | | |
16 | 32 | | |
17 | 33 | | |
18 | 34 | | |
19 | 35 | | |
20 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
21 | 53 | | |
22 | 54 | | |
23 | 55 | | |
24 | 56 | | |
25 | 57 | | |
26 | 58 | | |
27 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
28 | 76 | | |
29 | 77 | | |
30 | 78 | | |
31 | 79 | | |
32 | 80 | | |
33 | 81 | | |
34 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
35 | 99 | | |
36 | 100 | | |
37 | 101 | | |
38 | 102 | | |
39 | 103 | | |
40 | 104 | | |
41 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
42 | 122 | | |
43 | 123 | | |
44 | 124 | | |
| |||
81 | 161 | | |
82 | 162 | | |
83 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
84 | 180 | | |
85 | 181 | | |
86 | 182 | | |
| |||
0 commit comments