Giter Club home page Giter Club logo

dcdc6e8f7f3d4dfa4b93d63a3ea708a8602e481d9294326308c63e8c37ea94a1's Introduction

THIS IS CURRENTLY EXPERIMENTAL!

About

This is a simple HTTP => statsd for quickly tracking metrics.

Sending Metrics Data

There are four endpoints for tracking metrics: gauge, count, history and set. These map directly to Datadog's metrics.

  curl -v -d '123.45' https://<endpoint>/gauge/<metric name>
  curl -v -d '123' https://<endpoint>/count/<metric name>
  curl -v -d '123.45' https://<endpoint>/histogram/<metric name>
  curl -v -d 'some string' https://<endpoint>/set/<metric name>

Running it

  • Currently expects the datadog agent at localhost:8125
  • Configuration is through environment variables.
  • LISTEN - the address to listen on, defaults to ":8080".
  • NAMESPACE - what to automatically prefix all metrics with. Defaults to experimental.. Name must end with a period.
  • TAGS - a comma separated list of tags to send along with all metrics
  • WHITELIST_FILE - path a list of metrics to allow. Not specifying this will accept any metric name. An empty whitelist file accepts nothing.

License

MPL v 2.0

dcdc6e8f7f3d4dfa4b93d63a3ea708a8602e481d9294326308c63e8c37ea94a1's People

Contributors

mostlygeek avatar mozilla-github-standards 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.