Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Grains: UDP

Peter Parkanyi edited this page Jul 27, 2018 · 2 revisions

The UDP grain is based on the Kprobe interface, and traces the volume of data that each process transmits and receives over each UDP over IPv4 connection.

An example payload may look like so:

{'kind': 9,
'measurement': 981,
'name': 'volume.out_byte',
'tags': {'d_ip': '127.0.0.1',
          'd_port': '53',
          'process': 'sidecar',
          'proto': 'udp',
          's_ip': '0.0.0.0',
          's_port': '32512',
          'task_id': '5368709121266'},
'timestamp': 1532538630372793284}

In addition, inbound volume information is available through the volume.in_byte metrics.