Open huntergregory opened 5 months ago
Would really appreciate that change in order to get better insights on whether tcpflags are being received or sent by a pod when using local-context. Was a bit confused by the discrepancy between documentation and actual labels with local context.
The documentation says that advanced metrics with local-context (see Metric Modes) should have these context labels. For instance, it says there is a
source_podname
label for outgoing traffic anddestination_podname
for incoming traffic (remote-context mode always has both these labels).However, currently the local-context mode just has a
podname
label. It has metrics such as:For
adv_forward_count
, you could infer if thepodname
is a source/destination by thedirection
. But for other metrics likeadv_tcpflags_count
, either the client or the server could initiate a TCP reset (RST flag), in which case knowing the source or destination could be an important detail.