microsoft / microsoft/retina

Add L4 protocol label to advanced metrics

Open
#239 2 comments 0 reactions 1 assignee Claimed by @andreev-io View on GitHub
area/metrics area/plugins lang/go priority/1 type/enhancement
Dominant language
Go
Stars
3.2k
Forks
304
Avg merge
1d 16h
Merged PRs (30d)
79

Description

**Is your feature request related to a problem? Please describe.**
Advanced metrics include packet information such as IP and port. A typical packet 5-tuple is `(protocol, src IP, src port, dst IP, dst port)` (this would be a 3-tuple in the `Local Context` mode). This issue is to add the protocol label to such plugins as `dropreason` and `packetparser`.

**Describe the solution you'd like**
The protocol label should be optionally included in such metrics as `drop_count`, `drop_bytes`, `adv_forward_bytes`, `adv_forward_count`.

**Describe alternatives you've considered**
N/A

**Additional context**
N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.