apachetraffic

command module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

README

A simple application that collects and sends traffic generated by apache to graphite.

Place the following three lines of configuration in your apache config:

LogFormat "%h %v %I %O %^FB %t \"%r\" %>s" traffic
LogIOTrackTTFB ON
CustomLog "|/usr/local/sbin/apachetraffic" traffic

Compile and put the application in /usr/local/sbin/apachetraffic, and copy
the apachetraffic.toml to /etc/apachetraffic/. Adjust graphite address and
prefix to fit your needs, restart apache and you're all set.

You can use grafana or some other graphing software to visualize the
data you collected.

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