Skip to content

Commit 18381c3

Browse files
paulojmdiasChrsMark
authored andcommitted
[chore][receiver/nginxreceiver] sort metadata.yaml entries (open-telemetry#43477)
#### 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 bd3f8e3 commit 18381c3

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

receiver/nginxreceiver/metadata.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,34 @@ attributes:
1414
description: The state of a connection
1515
type: string
1616
enum:
17-
- active
18-
- reading
19-
- writing
20-
- waiting
17+
- active
18+
- reading
19+
- writing
20+
- waiting
2121

2222
metrics:
23-
nginx.requests:
23+
nginx.connections_accepted:
2424
enabled: true
25-
description: Total number of requests made to the server since it started
25+
description: The total number of accepted client connections
2626
stability:
2727
level: development
28-
unit: requests
28+
unit: connections
2929
sum:
3030
value_type: int
3131
monotonic: true
3232
aggregation_temporality: cumulative
3333
attributes: []
34-
nginx.connections_accepted:
34+
nginx.connections_current:
3535
enabled: true
36-
description: The total number of accepted client connections
36+
description: The current number of nginx connections by state
3737
stability:
3838
level: development
3939
unit: connections
4040
sum:
4141
value_type: int
42-
monotonic: true
42+
monotonic: false
4343
aggregation_temporality: cumulative
44-
attributes: []
44+
attributes: [state]
4545
nginx.connections_handled:
4646
enabled: true
4747
description: The total number of handled connections. Generally, the parameter value is the same as nginx.connections_accepted unless some resource limits have been reached (for example, the worker_connections limit).
@@ -53,14 +53,14 @@ metrics:
5353
monotonic: true
5454
aggregation_temporality: cumulative
5555
attributes: []
56-
nginx.connections_current:
56+
nginx.requests:
5757
enabled: true
58-
description: The current number of nginx connections by state
58+
description: Total number of requests made to the server since it started
5959
stability:
6060
level: development
61-
unit: connections
61+
unit: requests
6262
sum:
6363
value_type: int
64-
monotonic: false
64+
monotonic: true
6565
aggregation_temporality: cumulative
66-
attributes: [state]
66+
attributes: []

0 commit comments

Comments
 (0)