tsdbrelay

command
v0.0.0-...-0df215e Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2016 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

tsdbrelay relays OpenTSDB traffic to TSD and Bosun servers.

Requests to /api/put relays the request to OpenTSDB. Any response (success or failure) is returned to the source. In case of success, the relay attempts to write to Bosun but with a path of /api/index. If Bosun is down or otherwise fails, the data is dropped, but no negative status is returned to the source.

Requests to /api/metadata/put will relay only to Bosun, not OpenTSDB. Other URLs will relay only to OpenTSDB, not Bosun.

Usage:

tsdbrelay [-l listen-address] [-b bosun-server] -t tsdb-server

The flags are:

-b="bosun"
	Target Bosun server. Can specify port with host:port.
-t=""
	Target OpenTSDB server. Can specify port with host:port.
-l=":4242"
	Listen address.

Directories

Path Synopsis
We are going to simulate a full multi-datacenter cluster: DC1: - tsdbrelay: :5555 - opentsdb: :5556 - bosun: :5557 DC2: - tsdbrelay :6555 - opentsdb :6556 - bosun: :6557
We are going to simulate a full multi-datacenter cluster: DC1: - tsdbrelay: :5555 - opentsdb: :5556 - bosun: :5557 DC2: - tsdbrelay :6555 - opentsdb :6556 - bosun: :6557

Jump to

Keyboard shortcuts

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