Giter VIP home page Giter VIP logo

stouts.statsd's Introduction

Stouts.statsd

Build Status Galaxy

Ansible role which help you with:

Variables

statsd_enabled: yes                 # Enable the role
statsd_home: /opt/statsd            # Where to install

statsd_port: 8125                   # StatsD listening port
statsd_graphiteHost: 127.0.0.1      # Hostname or IP of Graphite server
statsd_graphitePort: 2003           # Line Receiver port of Graphite (Carbon)
statsd_backends:                    # Enabled backends
- ./backends/graphite
statsd_debug: false
statsd_address: 0.0.0.0             # address to listen on over UDP
statsd_address_ipv6: false          # defines if the address is an IPv4 or IPv6 address [true or false]
statsd_mgmt_address: 0.0.0.0        # address to run the management TCP interface on
statsd_mgmt_port: 8126              # port to run the management TCP interface on
statsd_title: statsd                # Allows for overriding the process title
statsd_healthStatus: up             # default health status to be returned and statsd process starts ['up' or 'down']
statsd_flushInterval: 10000         # interval (in ms) to flush to Graphite
statsd_percentThreshold: 90
statsd_flush_counts: true           # send stats_counts metrics
statsd_graphite:
  legacyNamespace: false

statsd_additional_options: {}       # Setup additional options

Usage

Add Stouts.statsd to your roles and set vars in your playbook file.

Example:

- hosts: all

  roles:
    - Stouts.statsd

  vars:
    statsd_graphiteHost: g.myhost.com

License

Licensed under the MIT License. See the LICENSE file for details.

Feedback, bug-reports, requests, ...

Are welcome!

If you wish to express your appreciation for the role, you are welcome to send a postcard to:

Kirill Klenov
pos. Severny 8-3
MO, Istra, 143500
Russia

stouts.statsd's People

Contributors

ernoaapa avatar klen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

stouts.statsd's Issues

Installing npm through apt fails

Every time I use your role I have to manually comment out the block that installs npm (via apt) as it breaks my play (introduced here #8) any chance you can add a variable to exclude this task from running? I already have npm installed from using your nodejs role (which used to be done as a dependency of this playbook, see #3)

EDIT: here is my stderr: http://pastebin.com/E0zZXCEP

Thanks

NodeJs Dependency removed

Hi,

The npm dependency was removed in this commit, and my build is now failing.. was there a reason for this?

Thanks in advance, and keep up the good work :)

Init script

This playbook is supposed to work with Debian but it use upstart as init script, Debian 7 use classical init.d and Debian 8 systemd.

If you want I can make a PR.

Confusing port reference

Hi,

I spent quite a while trying to solve an issue where my statsd wasnt talking to my graphite.. It was really hard to debug.. in the end it was because i was talking to the web port of my graphite install, not the LINE_RECEIVER_PORT.. there are a lot of ports to deal with when setting up statsd with graphite, and carbon-cache etc.. so I wondered if you could amend the line in your docs that says

Port of Graphite server

To one that says

Line Receiver port of Graphite server (usually 2003)

I realise thats the port it defaults to, but me being me assumed that you were running graphite on port 2003, and with little to no knowledge of carbon/graphite/whisper this may help people in the future...

Thanks in advance, and keep up the great work!

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.