Skip to content

Commit c0de2ac

Browse files
authored
[chore][receiver/sshcheckreceiver] sort metadata.yaml entries (#43490)
#### 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 8ac8d03 commit c0de2ac

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

receiver/sshcheckreceiver/metadata.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@ attributes:
2020
type: string
2121

2222
metrics:
23-
sshcheck.status:
24-
description: 1 if the SSH client successfully connected, otherwise 0.
25-
enabled: true
26-
stability:
27-
level: development
28-
sum:
29-
value_type: int
30-
aggregation_temporality: cumulative
31-
monotonic: false
32-
unit: "1"
3323
sshcheck.duration:
3424
description: Measures the duration of SSH connection.
3525
enabled: true
@@ -49,16 +39,6 @@ metrics:
4939
monotonic: false
5040
unit: "{error}"
5141
attributes: [error.message]
52-
sshcheck.sftp_status:
53-
description: 1 if the SFTP server replied to request, otherwise 0.
54-
enabled: false
55-
stability:
56-
level: development
57-
sum:
58-
value_type: int
59-
aggregation_temporality: cumulative
60-
monotonic: false
61-
unit: "1"
6242
sshcheck.sftp_duration:
6343
description: Measures SFTP request duration.
6444
enabled: false
@@ -78,3 +58,23 @@ metrics:
7858
monotonic: false
7959
unit: "{error}"
8060
attributes: [error.message]
61+
sshcheck.sftp_status:
62+
description: 1 if the SFTP server replied to request, otherwise 0.
63+
enabled: false
64+
stability:
65+
level: development
66+
sum:
67+
value_type: int
68+
aggregation_temporality: cumulative
69+
monotonic: false
70+
unit: "1"
71+
sshcheck.status:
72+
description: 1 if the SSH client successfully connected, otherwise 0.
73+
enabled: true
74+
stability:
75+
level: development
76+
sum:
77+
value_type: int
78+
aggregation_temporality: cumulative
79+
monotonic: false
80+
unit: "1"

0 commit comments

Comments
 (0)