Skip to content

Commit d469b64

Browse files
paulojmdiasChrsMark
authored andcommitted
[chore][receiver/expvarreceiver] sort metadata.yaml entries (open-telemetry#43463)
#### Description Sort metadata.yaml file in preparation for sort validation using mdatagen. Context: open-telemetry/opentelemetry-collector#13782 Signed-off-by: Paulo Dias <[email protected]>
1 parent 3db0958 commit d469b64

File tree

1 file changed

+81
-82
lines changed

1 file changed

+81
-82
lines changed

receiver/expvarreceiver/metadata.yaml

Lines changed: 81 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,9 @@ status:
99
active: [jamesmoessis, MovieStoreGuy]
1010

1111
metrics:
12-
process.runtime.memstats.total_alloc:
13-
enabled: false
14-
description: Cumulative bytes allocated for heap objects.
15-
stability:
16-
level: development
17-
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
18-
unit: By
19-
sum:
20-
value_type: int
21-
monotonic: true
22-
aggregation_temporality: cumulative
23-
24-
process.runtime.memstats.sys:
12+
process.runtime.memstats.buck_hash_sys:
2513
enabled: true
26-
description: Total bytes of memory obtained from the OS.
14+
description: Bytes of memory in profiling bucket hash tables.
2715
stability:
2816
level: development
2917
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
@@ -33,40 +21,37 @@ metrics:
3321
monotonic: false
3422
aggregation_temporality: cumulative
3523

36-
process.runtime.memstats.lookups:
37-
enabled: false
38-
description: Number of pointer lookups performed by the runtime.
24+
process.runtime.memstats.frees:
25+
enabled: true
26+
description: Cumulative count of heap objects freed.
3927
stability:
4028
level: development
4129
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
42-
unit: "{lookups}"
30+
unit: "{objects}"
4331
sum:
4432
value_type: int
45-
monotonic: false
33+
monotonic: true
4634
aggregation_temporality: cumulative
4735

48-
process.runtime.memstats.mallocs:
36+
process.runtime.memstats.gc_cpu_fraction:
4937
enabled: true
50-
description: Cumulative count of heap objects allocated.
38+
description: The fraction of this program's available CPU time used by the GC since the program started.
5139
stability:
5240
level: development
5341
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
54-
unit: "{objects}"
55-
sum:
56-
value_type: int
57-
monotonic: true
58-
aggregation_temporality: cumulative
59-
60-
process.runtime.memstats.frees:
42+
unit: "1"
43+
gauge:
44+
value_type: double
45+
process.runtime.memstats.gc_sys:
6146
enabled: true
62-
description: Cumulative count of heap objects freed.
47+
description: Bytes of memory in garbage collection metadata.
6348
stability:
6449
level: development
6550
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
66-
unit: "{objects}"
51+
unit: By
6752
sum:
6853
value_type: int
69-
monotonic: true
54+
monotonic: false
7055
aggregation_temporality: cumulative
7156

7257
process.runtime.memstats.heap_alloc:
@@ -81,9 +66,9 @@ metrics:
8166
monotonic: false
8267
aggregation_temporality: cumulative
8368

84-
process.runtime.memstats.heap_sys:
69+
process.runtime.memstats.heap_idle:
8570
enabled: true
86-
description: Bytes of heap memory obtained by the OS.
71+
description: Bytes in idle (unused) spans.
8772
stability:
8873
level: development
8974
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
@@ -93,9 +78,9 @@ metrics:
9378
monotonic: false
9479
aggregation_temporality: cumulative
9580

96-
process.runtime.memstats.heap_idle:
81+
process.runtime.memstats.heap_inuse:
9782
enabled: true
98-
description: Bytes in idle (unused) spans.
83+
description: Bytes in in-use spans.
9984
stability:
10085
level: development
10186
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
@@ -105,13 +90,13 @@ metrics:
10590
monotonic: false
10691
aggregation_temporality: cumulative
10792

108-
process.runtime.memstats.heap_inuse:
93+
process.runtime.memstats.heap_objects:
10994
enabled: true
110-
description: Bytes in in-use spans.
95+
description: Number of allocated heap objects.
11196
stability:
11297
level: development
11398
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
114-
unit: By
99+
unit: "{objects}"
115100
sum:
116101
value_type: int
117102
monotonic: false
@@ -129,45 +114,55 @@ metrics:
129114
monotonic: false
130115
aggregation_temporality: cumulative
131116

132-
process.runtime.memstats.heap_objects:
117+
process.runtime.memstats.heap_sys:
133118
enabled: true
134-
description: Number of allocated heap objects.
119+
description: Bytes of heap memory obtained by the OS.
135120
stability:
136121
level: development
137122
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
138-
unit: "{objects}"
123+
unit: By
139124
sum:
140125
value_type: int
141126
monotonic: false
142127
aggregation_temporality: cumulative
143128

144-
process.runtime.memstats.stack_inuse:
129+
process.runtime.memstats.last_pause:
145130
enabled: true
146-
description: Bytes in stack spans.
131+
description: The most recent stop-the-world pause time.
147132
stability:
148133
level: development
149134
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
150-
unit: By
135+
unit: ns
136+
gauge:
137+
value_type: int
138+
139+
process.runtime.memstats.lookups:
140+
enabled: false
141+
description: Number of pointer lookups performed by the runtime.
142+
stability:
143+
level: development
144+
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
145+
unit: "{lookups}"
151146
sum:
152147
value_type: int
153148
monotonic: false
154149
aggregation_temporality: cumulative
155150

156-
process.runtime.memstats.stack_sys:
151+
process.runtime.memstats.mallocs:
157152
enabled: true
158-
description: Bytes of stack memory obtained from the OS.
153+
description: Cumulative count of heap objects allocated.
159154
stability:
160155
level: development
161156
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
162-
unit: By
157+
unit: "{objects}"
163158
sum:
164159
value_type: int
165-
monotonic: false
160+
monotonic: true
166161
aggregation_temporality: cumulative
167162

168-
process.runtime.memstats.mspan_inuse:
163+
process.runtime.memstats.mcache_inuse:
169164
enabled: true
170-
description: Bytes of allocated mspan structures.
165+
description: Bytes of allocated mcache structures.
171166
stability:
172167
level: development
173168
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
@@ -177,9 +172,9 @@ metrics:
177172
monotonic: false
178173
aggregation_temporality: cumulative
179174

180-
process.runtime.memstats.mspan_sys:
175+
process.runtime.memstats.mcache_sys:
181176
enabled: true
182-
description: Bytes of memory obtained from the OS for mspan structures.
177+
description: Bytes of memory obtained from the OS for mcache structures.
183178
stability:
184179
level: development
185180
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
@@ -189,9 +184,9 @@ metrics:
189184
monotonic: false
190185
aggregation_temporality: cumulative
191186

192-
process.runtime.memstats.mcache_inuse:
187+
process.runtime.memstats.mspan_inuse:
193188
enabled: true
194-
description: Bytes of allocated mcache structures.
189+
description: Bytes of allocated mspan structures.
195190
stability:
196191
level: development
197192
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
@@ -201,9 +196,9 @@ metrics:
201196
monotonic: false
202197
aggregation_temporality: cumulative
203198

204-
process.runtime.memstats.mcache_sys:
199+
process.runtime.memstats.mspan_sys:
205200
enabled: true
206-
description: Bytes of memory obtained from the OS for mcache structures.
201+
description: Bytes of memory obtained from the OS for mspan structures.
207202
stability:
208203
level: development
209204
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
@@ -213,9 +208,9 @@ metrics:
213208
monotonic: false
214209
aggregation_temporality: cumulative
215210

216-
process.runtime.memstats.buck_hash_sys:
211+
process.runtime.memstats.next_gc:
217212
enabled: true
218-
description: Bytes of memory in profiling bucket hash tables.
213+
description: The target heap size of the next GC cycle.
219214
stability:
220215
level: development
221216
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
@@ -225,33 +220,33 @@ metrics:
225220
monotonic: false
226221
aggregation_temporality: cumulative
227222

228-
process.runtime.memstats.gc_sys:
223+
process.runtime.memstats.num_forced_gc:
229224
enabled: true
230-
description: Bytes of memory in garbage collection metadata.
225+
description: Number of GC cycles that were forced by the application calling the GC function.
231226
stability:
232227
level: development
233228
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
234229
unit: By
235230
sum:
236231
value_type: int
237-
monotonic: false
232+
monotonic: true
238233
aggregation_temporality: cumulative
239234

240-
process.runtime.memstats.other_sys:
235+
process.runtime.memstats.num_gc:
241236
enabled: true
242-
description: Bytes of memory in miscellaneous off-heap runtime allocations.
237+
description: Number of completed GC cycles.
243238
stability:
244239
level: development
245240
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
246241
unit: By
247242
sum:
248243
value_type: int
249-
monotonic: false
244+
monotonic: true
250245
aggregation_temporality: cumulative
251246

252-
process.runtime.memstats.next_gc:
247+
process.runtime.memstats.other_sys:
253248
enabled: true
254-
description: The target heap size of the next GC cycle.
249+
description: Bytes of memory in miscellaneous off-heap runtime allocations.
255250
stability:
256251
level: development
257252
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
@@ -273,46 +268,50 @@ metrics:
273268
monotonic: true
274269
aggregation_temporality: cumulative
275270

276-
process.runtime.memstats.last_pause:
271+
process.runtime.memstats.stack_inuse:
277272
enabled: true
278-
description: The most recent stop-the-world pause time.
273+
description: Bytes in stack spans.
279274
stability:
280275
level: development
281276
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
282-
unit: ns
283-
gauge:
277+
unit: By
278+
sum:
284279
value_type: int
280+
monotonic: false
281+
aggregation_temporality: cumulative
285282

286-
process.runtime.memstats.num_gc:
283+
process.runtime.memstats.stack_sys:
287284
enabled: true
288-
description: Number of completed GC cycles.
285+
description: Bytes of stack memory obtained from the OS.
289286
stability:
290287
level: development
291288
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
292289
unit: By
293290
sum:
294291
value_type: int
295-
monotonic: true
292+
monotonic: false
296293
aggregation_temporality: cumulative
297294

298-
process.runtime.memstats.num_forced_gc:
295+
process.runtime.memstats.sys:
299296
enabled: true
300-
description: Number of GC cycles that were forced by the application calling the GC function.
297+
description: Total bytes of memory obtained from the OS.
301298
stability:
302299
level: development
303300
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
304301
unit: By
305302
sum:
306303
value_type: int
307-
monotonic: true
304+
monotonic: false
308305
aggregation_temporality: cumulative
309306

310-
process.runtime.memstats.gc_cpu_fraction:
311-
enabled: true
312-
description: The fraction of this program's available CPU time used by the GC since the program started.
307+
process.runtime.memstats.total_alloc:
308+
enabled: false
309+
description: Cumulative bytes allocated for heap objects.
313310
stability:
314311
level: development
315312
extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats
316-
unit: "1"
317-
gauge:
318-
value_type: double
313+
unit: By
314+
sum:
315+
value_type: int
316+
monotonic: true
317+
aggregation_temporality: cumulative

0 commit comments

Comments
 (0)