Git Product home page Git Product logo

ansible-carbon-relay-ng's Introduction

Build Status

carbon-relay-ng Ansible role

This role aims to configure and start carbon-relay-ng on target machine running under Supervisor

For an example Playbook, see test/main.yml

Requirements

The role requires Supervisor to be installed in the target machine.

Role Variables

Required

graphite_addr: The URL to send metrics to.

graphite_apikey: The API key to the hosted Graphite service

Optional

carbon_relay_ng_port: The service listens on this port. Default: 2003

carbon_relay_ng_bind: IP address where the service binds to. Default: localhost

graphite_route_key: carbon-relay-ng route key: Default: 'grafanaNet'

graphite_route_type: carbon_relay_ng route type: Default: 'grafanaNet'

graphite_interval: Period of metric sending by your application: Default: '1m'

graphite_interval_ms: Must equal to graphite_interval but in ms. Default: 60000

wait_for_healthcheck: Whether to wait for carbon-relay-ng to listen on port as a part of the role run. Default: True

Test

In order to run tests locally:

$ ansible-playbook -i test/inventory test/main.yml -vvv

You need Docker and also docker-py library.

See here for more info about Ansible role testing

Note that there are problems with Ansible/pip/docker-py. See here

Best practices

For Ansible best practices, please read here and specially here.

ansible-carbon-relay-ng's People

Contributors

aboroska avatar legoscia avatar lastres 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.