network-traffic-monitor

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

README

Network Traffic Monitor

This tool was built to analyze AWS network throttling and microbursts. To understand baseline you want to checkout the following resources:

Network Traffic Monitor exposes network bytes receive and transmit counters in second granularity.

We store all data in a ring data structure with 300 buckets for each metric.

To query raw data use /raw endpoint and query n with 0 < n < 300 the number of buckets from now you want to get.

To query aggregated values use /metrics endpoint. Query n with 0 < n < 300 the number of buckets we should aggregate. Query baseline to set the value up to we ignore the sum of rx and tx bytes.

# metric value
% curl http://localhost:8080/metrics\?baseline\=10000\&n\=10
above_baseline_count 5
above_baseline_area_sum 166319

# index metric value
% curl http://localhost:8080/raw\?n\=2
207 receive_bytes 19313959443
207 transmit_bytes 9011116210
208 receive_bytes 19313965946
208 transmit_bytes 9011125969

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL