Skip to content

Commit

Permalink
Added 4 Metrics with Unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-mw committed Apr 11, 2024
1 parent 2524ae7 commit a2e2c15
Show file tree
Hide file tree
Showing 11 changed files with 567 additions and 71 deletions.
32 changes: 32 additions & 0 deletions receiver/apachereceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,38 @@ metrics:
enabled: false
```
### apache.bytes_served
The total number of bytes served.
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {byte} | Sum | Int | Cumulative | true |
### apache.conns_async_closing
The number of asynchronous closing connections.
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {connections} | Gauge | Int |
### apache.conns_async_keep_alive
The number of asynchronous keep alive connections.
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {connections} | Gauge | Int |
### apache.conns_async_writing
The number of asynchronous writes connections.
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {connections} | Gauge | Int |
### apache.cpu.load
Current load of the CPU.
Expand Down
40 changes: 28 additions & 12 deletions receiver/apachereceiver/internal/metadata/generated_config.go

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

56 changes: 32 additions & 24 deletions receiver/apachereceiver/internal/metadata/generated_config_test.go

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

Loading

0 comments on commit a2e2c15

Please sign in to comment.