Skip to content

Commit

Permalink
upstream traffic stats
Browse files Browse the repository at this point in the history
  • Loading branch information
naman47vyas committed Dec 16, 2024
1 parent c4821a6 commit 8b6bcdd
Show file tree
Hide file tree
Showing 8 changed files with 397 additions and 5 deletions.
45 changes: 45 additions & 0 deletions receiver/nginxreceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,36 @@ Bytes sent by server zones
| ---- | ----------- | ------ |
| serverzone_name | The name of serverzone | Any Str |
### nginx.upstream.peers.received
Bytes received from upstream servers
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| By | Sum | Int | Cumulative | true |
#### Attributes
| Name | Description | Values |
| ---- | ----------- | ------ |
| upstream_block_name | The name of the upstream block | Any Str |
| upstream_peer_address | The address f the upstream server | Any Str |
### nginx.upstream.peers.requests
Number of requests made to upstream servers
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| requests | Sum | Int | Cumulative | true |
#### Attributes
| Name | Description | Values |
| ---- | ----------- | ------ |
| upstream_block_name | The name of the upstream block | Any Str |
| upstream_peer_address | The address f the upstream server | Any Str |
### nginx.upstream.peers.response_time
The average time to receive the last byte of data from this server.
Expand All @@ -194,3 +224,18 @@ The average time to receive the last byte of data from this server.
| ---- | ----------- | ------ |
| upstream_block_name | The name of the upstream block | Any Str |
| upstream_peer_address | The address f the upstream server | Any Str |
### nginx.upstream.peers.sent
Bytes sent from upstream servers
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| By | Sum | Int | Cumulative | true |
#### Attributes
| Name | Description | Values |
| ---- | ----------- | ------ |
| upstream_block_name | The name of the upstream block | Any Str |
| upstream_peer_address | The address f the upstream server | Any Str |
12 changes: 12 additions & 0 deletions receiver/nginxreceiver/internal/metadata/generated_config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

186 changes: 186 additions & 0 deletions receiver/nginxreceiver/internal/metadata/generated_metrics.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8b6bcdd

Please sign in to comment.