0.4.7 • Published 10 months ago

statsd-ctsdb-backend v0.4.7

Weekly downloads
-
License
-
Repository
github
Last release
10 months ago

statsd-ctsdb-backend

Tencent ctsdb backend for statsd

Overview

This backend allows Statsd to save to Elasticsearch. Supports dynamic index creation per day and follows the logstash naming convention of statsd-YYYY.MM.DD for index creation.

History

Originally written by Github user rameshpy, this library was created as a feature branch of etsy/statsd. The statsd project recommended that this library be converted to its own repository as all other backends currently do. This repository started as a restructuring of the existing feature branch into a standalone backend repository. Reconstructed from https://github.com/markkimsal/statsd-elasticsearch-backend

Configuration

Merge the following configuration into your top-level existing configuration. Add a structure to your configuration called "ctsdb"

 backends: [ 'statsd-ctsdb-backend', 'other-backends'],
 debug: true,
 ctsdb: {
	 port:          9200,
	 host:          "localhost", // (e.g. https://service.tencentcs.com
	 path:          "/", 
         metrics: "", //ctsdb metrics 
         username: "",
         password: "",
	 indexPrefix:   "statsd",
	 //indexTimestamp: "year",  //for index statsd-2015 
	 //indexTimestamp: "month", //for index statsd-2015.01
	 indexTimestamp: "day",     //for index statsd-2015.01.01
	 countType:     "counter",
	 timerType:     "timer",
	 timerDataType: "timer_data",
	 gaugeDataType: "gauge",
     formatter:     "default_format"
 }
0.4.7

10 months ago

0.4.6

11 months ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago