split system.network.connections into TCP and UDP metrics (#2675)

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
This commit is contained in:
Alex Boten 2022-08-05 08:44:58 -07:00 committed by GitHub
parent ec22b65283
commit 4ee53745d8
2 changed files with 11 additions and 1 deletions

View File

@ -81,6 +81,13 @@ versions:
metrics_from_attributes:
process.network.io.receive: receive
process.network.io.transmit: transmit
# https://github.com/open-telemetry/opentelemetry-specification/pull/2675
- split:
apply_to_metric: system.network.connections
by_attribute: protocol
metrics_from_attributes:
system.network.tcp.connections: tcp
system.network.udp.connections: udp
1.12.0:
spans:

View File

@ -146,9 +146,12 @@ perf counter (similar for Writes)
| | | | | | direction | transmit, receive |
| system<!--notlink-->.network.io.transmit | Bytes sent | By | Counter | Int64 | device | (identifier) |
| system<!--notlink-->.network.io.receive | Bytes received | By | Counter | Int64 | device | (identifier) |
| system.network.connections | | {connections} | UpDownCounter | Int64 | device | (identifier) |
| system.network.connections (deprecated) | | {connections} | UpDownCounter | Int64 | device | (identifier) |
| | | | | | protocol | tcp, udp, [etc.](https://en.wikipedia.org/wiki/Transport_layer#Protocols) |
| | | | | | state | If specified, SHOULD be one of: close, close_wait, closing, delete, established, fin_wait_1, fin_wait_2, last_ack, listen, syn_recv, syn_sent, time_wait. A stateless protocol MUST NOT set this attribute. |
| system.network.tcp.connections | Count of TCP connections | {connections} | UpDownCounter | Int64 | device | (identifier) |
| | | | | | state | SHOULD be one of: close, close_wait, closing, delete, established, fin_wait_1, fin_wait_2, last_ack, listen, syn_recv, syn_sent, time_wait. A stateless protocol MUST NOT set this attribute. |
| system.network.udp.connections | Count of UDP connections | {connections} | UpDownCounter | Int64 | device | (identifier) |
<sup>1</sup> Measured as: