Commit 12a8fe0
authored
[cmd/mdatagen] [chore] Rename per-metric config types to include Metric infix (#14764)
Follow up to
#14724. No
need for chanagelog item if merged before the release
Rename generated types for per-metric reaggregation config to make the
category explicit and avoid future name collisions:
- `{MetricName}Config` -> `{MetricName}MetricConfig`
- `{MetricName}AttributeKey` -> `{MetricName}MetricAttributeKey`
For example, for the `system.cpu.frequency` metric:
- `SystemCPUFrequencyConfig` -> `SystemCPUFrequencyMetricConfig`
- `SystemCPUFrequencyAttributeKey` ->
`SystemCPUFrequencyMetricAttributeKey`1 parent 9884a45 commit 12a8fe0
18 files changed
Lines changed: 563 additions & 563 deletions
File tree
- cmd/mdatagen/internal
- sampleconnector/internal/metadata
- sampleentityreceiver/internal/metadata
- samplereceiver
- internal/metadata
- samplescraper/internal/metadata
- templates
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
Lines changed: 82 additions & 82 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments