Skip to content

Commit e7d7fc6

Browse files
committed
PR feedback
1 parent 35748c2 commit e7d7fc6

File tree

11 files changed

+507
-507
lines changed

11 files changed

+507
-507
lines changed

internal/collector/nginxossreceiver/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ status:
77
beta: [metrics]
88
distributions: [contrib]
99
codeowners:
10-
active: [olli-holmala, oliveromahony, apgralG, dhurley, craigell, sean-breen]
10+
active: [apgralG, dhurley, craigell, sean-breen, Rashmiti, CVanF5]
1111

1212
resource_attributes:
1313
instance.id:

internal/collector/nginxplusreceiver/documentation.md

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -136,42 +136,42 @@ The total number of requests to an endpoint with a limit_req directive.
136136
| nginx.limit_req.outcome | The outcome for attempting to establish a connection to an endpoint that has a limit_req directive configured. | Str: ``PASSED``, ``REJECTED``, ``REJECTED_DRY_RUN``, ``DELAYED``, ``DELAYED_DRY_RUN`` |
137137
| nginx.zone.name | The name of the shared memory zone. | Any Str |
138138
139-
### nginx.http.request.byte.io
139+
### nginx.http.request.count
140140
141-
The total number of HTTP byte IO.
141+
The current number of client requests received from clients.
142+
143+
| Unit | Metric Type | Value Type |
144+
| ---- | ----------- | ---------- |
145+
| requests | Gauge | Int |
146+
147+
### nginx.http.request.discarded
148+
149+
The total number of requests completed without sending a response.
142150
143151
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
144152
| ---- | ----------- | ---------- | ----------------------- | --------- |
145-
| bytes | Sum | Int | Cumulative | true |
153+
| requests | Sum | Int | Cumulative | true |
146154
147155
#### Attributes
148156
149157
| Name | Description | Values |
150158
| ---- | ----------- | ------ |
151-
| nginx.byte.io.direction | The direction of byte traffic. | Str: ``RX``, ``TX`` |
152159
| nginx.zone.name | The name of the shared memory zone. | Any Str |
153160
| nginx.zone.type | The type of shared memory zone, depending on what block it was defined in the NGINX configuration. | Str: ``SERVER``, ``LOCATION`` |
154161
155-
### nginx.http.request.count
156-
157-
The current number of client requests received from clients.
158-
159-
| Unit | Metric Type | Value Type |
160-
| ---- | ----------- | ---------- |
161-
| requests | Gauge | Int |
162+
### nginx.http.request.io
162163
163-
### nginx.http.request.discarded
164-
165-
The total number of requests completed without sending a response.
164+
The total number of HTTP byte IO.
166165
167166
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
168167
| ---- | ----------- | ---------- | ----------------------- | --------- |
169-
| requests | Sum | Int | Cumulative | true |
168+
| bytes | Sum | Int | Cumulative | true |
170169
171170
#### Attributes
172171
173172
| Name | Description | Values |
174173
| ---- | ----------- | ------ |
174+
| nginx.io.direction | The direction of byte traffic. | Str: ``receive``, ``transmit`` |
175175
| nginx.zone.name | The name of the shared memory zone. | Any Str |
176176
| nginx.zone.type | The type of shared memory zone, depending on what block it was defined in the NGINX configuration. | Str: ``SERVER``, ``LOCATION`` |
177177
@@ -251,24 +251,6 @@ The current number of idle keepalive connections per HTTP upstream.
251251
| nginx.zone.name | The name of the shared memory zone. | Any Str |
252252
| nginx.upstream.name | The name of the upstream block. | Any Str |
253253
254-
### nginx.http.upstream.peer.byte.io
255-
256-
The total number of byte IO per HTTP upstream peer.
257-
258-
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
259-
| ---- | ----------- | ---------- | ----------------------- | --------- |
260-
| bytes | Sum | Int | Cumulative | true |
261-
262-
#### Attributes
263-
264-
| Name | Description | Values |
265-
| ---- | ----------- | ------ |
266-
| nginx.byte.io.direction | The direction of byte traffic. | Str: ``RX``, ``TX`` |
267-
| nginx.zone.name | The name of the shared memory zone. | Any Str |
268-
| nginx.upstream.name | The name of the upstream block. | Any Str |
269-
| nginx.peer.address | The address of the peer. | Any Str |
270-
| nginx.peer.name | The name of the peer. | Any Str |
271-
272254
### nginx.http.upstream.peer.connection.count
273255
274256
The average number of active connections per HTTP upstream peer.
@@ -354,6 +336,24 @@ The total number of health check requests made to a HTTP upstream peer.
354336
| nginx.peer.address | The address of the peer. | Any Str |
355337
| nginx.peer.name | The name of the peer. | Any Str |
356338
339+
### nginx.http.upstream.peer.io
340+
341+
The total number of byte IO per HTTP upstream peer.
342+
343+
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
344+
| ---- | ----------- | ---------- | ----------------------- | --------- |
345+
| bytes | Sum | Int | Cumulative | true |
346+
347+
#### Attributes
348+
349+
| Name | Description | Values |
350+
| ---- | ----------- | ------ |
351+
| nginx.io.direction | The direction of byte traffic. | Str: ``receive``, ``transmit`` |
352+
| nginx.zone.name | The name of the shared memory zone. | Any Str |
353+
| nginx.upstream.name | The name of the upstream block. | Any Str |
354+
| nginx.peer.address | The address of the peer. | Any Str |
355+
| nginx.peer.name | The name of the peer. | Any Str |
356+
357357
### nginx.http.upstream.peer.requests
358358
359359
The total number of client requests forwarded to the HTTP upstream peer.
@@ -632,21 +632,6 @@ The total number of SSL handshakes.
632632
| nginx.ssl.status | The status of a SSL handshake. | Str: ``FAILED``, ``REUSE`` |
633633
| nginx.ssl.handshake.reason | The reason for a SSL handshake failure. | Str: ``NO_COMMON_PROTOCOL``, ``NO_COMMON_CIPHER``, ``TIMEOUT``, ``CERT_REJECTED`` |
634634
635-
### nginx.stream.byte.io
636-
637-
The total number of Stream byte IO.
638-
639-
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
640-
| ---- | ----------- | ---------- | ----------------------- | --------- |
641-
| bytes | Sum | Int | Cumulative | true |
642-
643-
#### Attributes
644-
645-
| Name | Description | Values |
646-
| ---- | ----------- | ------ |
647-
| nginx.byte.io.direction | The direction of byte traffic. | Str: ``RX``, ``TX`` |
648-
| nginx.zone.name | The name of the shared memory zone. | Any Str |
649-
650635
### nginx.stream.connection.accepted
651636
652637
The total number of connections accepted from clients.
@@ -689,38 +674,35 @@ The number of client connections that are currently being processed.
689674
| ---- | ----------- | ------ |
690675
| nginx.zone.name | The name of the shared memory zone. | Any Str |
691676
692-
### nginx.stream.session.status
677+
### nginx.stream.io
693678
694-
The total number of completed sessions.
679+
The total number of Stream byte IO.
695680
696681
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
697682
| ---- | ----------- | ---------- | ----------------------- | --------- |
698-
| sessions | Sum | Int | Cumulative | true |
683+
| bytes | Sum | Int | Cumulative | true |
699684
700685
#### Attributes
701686
702687
| Name | Description | Values |
703688
| ---- | ----------- | ------ |
704-
| nginx.status_range | A status code range or bucket for a HTTP response's status code. | Str: ``1xx``, ``2xx``, ``3xx``, ``4xx``, ``5xx`` |
689+
| nginx.io.direction | The direction of byte traffic. | Str: ``receive``, ``transmit`` |
705690
| nginx.zone.name | The name of the shared memory zone. | Any Str |
706691
707-
### nginx.stream.upstream.peer.byte.io
692+
### nginx.stream.session.status
708693
709-
The total number of Stream Upstream Peer byte IO.
694+
The total number of completed sessions.
710695
711696
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
712697
| ---- | ----------- | ---------- | ----------------------- | --------- |
713-
| bytes | Sum | Int | Cumulative | true |
698+
| sessions | Sum | Int | Cumulative | true |
714699
715700
#### Attributes
716701
717702
| Name | Description | Values |
718703
| ---- | ----------- | ------ |
719-
| nginx.byte.io.direction | The direction of byte traffic. | Str: ``RX``, ``TX`` |
704+
| nginx.status_range | A status code range or bucket for a HTTP response's status code. | Str: ``1xx``, ``2xx``, ``3xx``, ``4xx``, ``5xx`` |
720705
| nginx.zone.name | The name of the shared memory zone. | Any Str |
721-
| nginx.upstream.name | The name of the upstream block. | Any Str |
722-
| nginx.peer.address | The address of the peer. | Any Str |
723-
| nginx.peer.name | The name of the peer. | Any Str |
724706
725707
### nginx.stream.upstream.peer.connection.count
726708
@@ -823,6 +805,24 @@ The total number of health check requests made to the stream upstream peer.
823805
| nginx.peer.address | The address of the peer. | Any Str |
824806
| nginx.peer.name | The name of the peer. | Any Str |
825807
808+
### nginx.stream.upstream.peer.io
809+
810+
The total number of Stream Upstream Peer byte IO.
811+
812+
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
813+
| ---- | ----------- | ---------- | ----------------------- | --------- |
814+
| bytes | Sum | Int | Cumulative | true |
815+
816+
#### Attributes
817+
818+
| Name | Description | Values |
819+
| ---- | ----------- | ------ |
820+
| nginx.io.direction | The direction of byte traffic. | Str: ``receive``, ``transmit`` |
821+
| nginx.zone.name | The name of the shared memory zone. | Any Str |
822+
| nginx.upstream.name | The name of the upstream block. | Any Str |
823+
| nginx.peer.address | The address of the peer. | Any Str |
824+
| nginx.peer.name | The name of the peer. | Any Str |
825+
826826
### nginx.stream.upstream.peer.response.time
827827
828828
The average time to receive the last byte of data for the stream upstream peer.

internal/collector/nginxplusreceiver/internal/metadata/generated_config.go

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)