tcp-info

command module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

README

tcp-info

branch travis-ci report-card coveralls
master Travis Build Status Go Report Card Coverage Status

Fast tcp-info collector in Go

This repository uses protobuffers and zstd. To build it locally you will need to install and run the protobuf compiler:

wget https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip
unzip protoc-3.5.1-linux-x86_64.zip
cd nl-proto && ../bin/protoc --go_out=. *.proto

To run the collection tool, you will also require zstd, which can be installed with:

bash <(curl -fsSL https://raw.githubusercontent.com/horta/zstd.install/master/install)

To invoke, with data written to ~/data, and prometheus metrics published on port 7070:

docker run --network=host -v ~/data:/home/ -it measurementlab/tcp-info -prom=7070

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cache keeps a cache of connection info records.
Package cache keeps a cache of connection info records.
Package inetdiag provides basic structs and utilities for INET_DIAG messaages.
Package inetdiag provides basic structs and utilities for INET_DIAG messaages.
Package metrics defines prometheus metric types and provides convenience methods to add accounting to various parts of the pipeline.
Package metrics defines prometheus metric types and provides convenience methods to add accounting to various parts of the pipeline.
pbtools
Package pbtools contains tools to convert netlink messages to protobuf message types.
Package pbtools contains tools to convert netlink messages to protobuf message types.
Package saver contains all logic for writing records to files.
Package saver contains all logic for writing records to files.
Package zstd provides utilities for connecting to external zStandard compression tasks.
Package zstd provides utilities for connecting to external zStandard compression tasks.

Jump to

Keyboard shortcuts

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