Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Latest commit

 

History

History
57 lines (36 loc) · 1.45 KB

README.md

File metadata and controls

57 lines (36 loc) · 1.45 KB

statsite-instrumental

Build Status

This project is a sink for statsite and Instrumental written in Go.

Statsite Config

[statsite]
stream_cmd = statsite-instrumental this_is_your_token

Usage

statsite-instrumental requires the API token for your project be passed as the first argument. The API token can be found on the Settings page for your project.

--prefix

A string that is added at the beginning of tags sent to Instrumental. The prefix is added as given and it's good practice to add a . at the end.

Example: --prefix 'production.'

--postfix

A string that is added at the end of each tag sent to Instrumental. It's good practice to start the postfix with a ..

Example: --prefix `hostname`

--timeout

The timeout for talking to Instrumental. Support a couple different formats.

Examples:

  • 1m
  • 30s
  • 1h20m5s

--host

The Instrumental collector agent hostname. You probably won't want to actually change this.

--port

The Instrumental collector agent port to connect on. Again, unlikely to have to change this.

--statsite-port

The local UDP port of the statsite daemon for feeding stats back into statsite, like gauges, in order to make them behave more like statsd. Set to 0 to disable.