项目作者: ContaAzul

项目描述 :
Sends Hystrix/Turbine stream metrics to Librato
高级语言: Go
项目地址: git://github.com/ContaAzul/hystrix-to-librato.git
创建时间: 2016-09-22T14:39:58Z
项目社区:https://github.com/ContaAzul/hystrix-to-librato

开源协议:MIT License

下载


hystrix-to-librato Build Status

Sends Hystrix/Turbine stream metrics to Librato;

How it works

You pass down all configs via
environment variables and start up the
binary.

It will create a goroutine for each cluster being monitored, and will
log each report and how many goroutines are alive.

If any HTTP error occurs, it will try to restart itself in 5 seconds.

The reports to Librato are also made in new goroutines, but the same metric
will be sent at most every 5 seconds (to avoid paying too much, since librato
charges by metric sent).

Metrics sent

  • hystrix.circuit.open: 1 if circuit open, 0 otherwise.
    Source will be {cluster}.{group};
  • hystrix.latency.{lat}: The executition latency in ms. Source will be
    {cluster}.{group}.{name};