Skip to content

Commit c8b9c08

Browse files
paulojmdiasChrsMark
authored andcommitted
[chore][receiver/riakreceiver] sort metadata.yaml entries (open-telemetry#43484)
#### 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 3416291 commit c8b9c08

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

receiver/riakreceiver/metadata.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,31 @@ resource_attributes:
1616
type: string
1717

1818
attributes:
19-
request:
20-
description: The request operation type.
21-
type: string
22-
enum:
23-
- put
24-
- get
2519
operation:
2620
description: The operation type for index operations.
2721
type: string
2822
enum:
2923
- read
3024
- write
3125
- delete
26+
request:
27+
description: The request operation type.
28+
type: string
29+
enum:
30+
- put
31+
- get
3232

3333
metrics:
34+
riak.memory.limit:
35+
description: The amount of memory allocated to the node.
36+
unit: By
37+
sum:
38+
monotonic: false
39+
aggregation_temporality: cumulative
40+
value_type: int
41+
enabled: true
42+
stability:
43+
level: development
3444
riak.node.operation.count:
3545
description: The number of operations performed by the node.
3646
unit: "{operation}"
@@ -61,13 +71,14 @@ metrics:
6171
enabled: true
6272
stability:
6373
level: development
64-
riak.memory.limit:
65-
description: The amount of memory allocated to the node.
66-
unit: By
74+
riak.vnode.index.operation.count:
75+
description: The number of index operations performed by vnodes on the node.
76+
unit: "{operation}"
6777
sum:
6878
monotonic: false
6979
aggregation_temporality: cumulative
7080
value_type: int
81+
attributes: [operation]
7182
enabled: true
7283
stability:
7384
level: development
@@ -82,14 +93,3 @@ metrics:
8293
stability:
8394
level: development
8495
attributes: [request]
85-
riak.vnode.index.operation.count:
86-
description: The number of index operations performed by vnodes on the node.
87-
unit: "{operation}"
88-
sum:
89-
monotonic: false
90-
aggregation_temporality: cumulative
91-
value_type: int
92-
attributes: [operation]
93-
enabled: true
94-
stability:
95-
level: development

0 commit comments

Comments
 (0)