Giter Club home page Giter Club logo

g2mt's Introduction

Graphite To Multiple Transports

This project provides a relay that can accept metrics in various formats (initially Graphite Line protocol) and send them through various ways.

Status

Early Proof of Concept. Compiles, but not tested extensively

Features

General:

  • Don't store metrics forever in queues in case destination is unavailable
  • Offload queue overflows to disk
  • Internal stats
  • Extended stats

Config:

  • Override key for Transport distribution

Calculator:

  • Calculate real metric frequency
  • Detect semi-frequent metrics

Input:

  • TCP
  • UDP
  • Unix Socket
  • TLS
  • Configurable encoding

Input Encoders:

  • Graphite Line Protocol
  • Graphite Line Protocol with tags
  • Metrics 2.0
  • InfluxDB Line Protocol

Output Encoders:

  • Graphite Line Protocol
  • JSON
  • Protobuf
  • kafkamdm

Output:

  • Kafka
  • TCP
  • UDP
  • Unix Socket

Routing:

  • Regexp matching (Re2-based)
  • Rewrites
  • Prefix Matching
  • Blackhole sender
  • Log on receive
  • PCRE Regexp Matching
  • Separate tool to show where metric will lend

LoadBalancing:

Documentation:

  • At least some docs
  • Design documentation
  • Extended docs

Known issues

  • Some internal queues (if you can call it queues) have no limit so malformed or unthrottled input might lead to OOM issues
  • If backend go down, first point in queue will be lost
  • Performance is far from optimal.
  • Config format is far from perfect (readability, easy of modification, easy of generation)
  • Unstable config format

Acknowledgement

This program was originally developed for Booking.com. With approval from Booking.com, the code was generalised and published as Open Source on GitHub, for which the author would like to express his gratitude.

License

This code is licensed under the Apache2 license.

g2mt's People

Contributors

civil avatar korservick avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.