Giter Club home page Giter Club logo

akumuli-prometheus-adapter's Introduction

Prometheus remote storage adapter for Akumuli

This adapter integrates Akumuli with Prometheus using the remote-read and remote-write interfaces. Adapter maintains the TCP connection pool to Akumuli. When Prometheous pushes the data adapter tries to maintain affinity. This means that the data from the same shard will go through the same TCP connection to the TSDB. This guarantees good write performance for Akumuli.

Build Instructions

Go 1.10 or greater is required to build the package. To build the package clone the repository and run go get; go build.

Configuration

All command line parameters have meaningful defaults. Because of that, if you're running this adapter and Akumuli on the same host you can just start adapter without parameters. If this is not the case you have to provide host and port.

Parameter Value Default
host Akumuli host name localhost
port Akumuli TCP endpoint port 8282
http-port Akumuli HTTP API endpoint port 8181
write-timeout Write timeout 10s
reconnect-interval Time interval between connection attempts 5s
idle-time Time interval after which idle connection should be closed 60s

To configure Prometheus you can add this lines to your configuration file:

# Remote write configuration
remote_write:
  - url: "http://<adapter-host-name>:9201/write"

# Remote read configuration
remote_read:
  - url: "http://<adapter-host-name>:9201/read"

You can add remote_read or remote_write or both.

akumuli-prometheus-adapter's People

Contributors

lazin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cbepx

akumuli-prometheus-adapter's Issues

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.