Skip to content

Commit 1af8d44

Browse files
authored
[chore][receiver/tcpcheckreceiver] sort metadata.yaml entries (#43491)
#### 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 37420f5 commit 1af8d44

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

receiver/tcpcheckreceiver/metadata.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@ metrics:
2929
value_type: int
3030
unit: ms
3131
attributes: [tcpcheck.endpoint]
32-
tcpcheck.status:
33-
description: 1 if the TCP client successfully connected, otherwise 0.
34-
enabled: true
35-
stability:
36-
level: development
37-
gauge:
38-
value_type: int
39-
unit: "1"
40-
attributes: [tcpcheck.endpoint]
4132
tcpcheck.error:
4233
description: Records errors occurring during TCP check.
4334
enabled: true
@@ -48,4 +39,13 @@ metrics:
4839
aggregation_temporality: cumulative
4940
monotonic: true
5041
unit: "{error}"
51-
attributes: [tcpcheck.endpoint, error.code]
42+
attributes: [tcpcheck.endpoint, error.code]
43+
tcpcheck.status:
44+
description: 1 if the TCP client successfully connected, otherwise 0.
45+
enabled: true
46+
stability:
47+
level: development
48+
gauge:
49+
value_type: int
50+
unit: "1"
51+
attributes: [tcpcheck.endpoint]

0 commit comments

Comments
 (0)