Giter Site home page Giter Site logo

statsd-vis's Introduction

statsd-vis

statsd-vis is a standalone, zero-dependency single-binary StatsD server with built-in web UI with which you can visualize graphs.

It holds time series data for a configurable time in-memory, and does not persist or forward it.

build

statsd-vis is written entirely in Go. To build it, you can go get it:

go get github.com/rapidloop/statsd-vis

You should find the binary statsd-vis under $GOPATH/bin when the command completes. There are no runtime dependencies or configuration needed.

command-line

You can set parameters like the flush interval, percentiles etc. on the command-line:

statsd-vis 0.1 - (c) 2017 RapidLoop - MIT Licensed - https://statsd-vis.info/
statd-vis is a standalone statsd server with built-in visualization

  -flush interval
    	flush interval (default 10s)
  -percentiles string
    	percentiles for timer metrics (default "90,95,99")
  -retention duration
    	duration to retain the metrics for (default 30m0s)
  -statsdtcp address
    	statsd TCP listen address (default "127.0.0.1:8125")
  -statsdudp address
    	statsd UDP listen address (default "127.0.0.1:8125")
  -webui address
    	web UI listen address (default "0.0.0.0:8080")

releases

You can get pre-built binaries for releases from the releases page.

There is also a statsd-vis Docker image on Docker Hub, built from source on each commit. You can run the Docker image with:

docker run --rm -it -p 8080:8080 -p 8125:8125/udp -p 8125:8125/tcp rapidloop/statsd-vis -statsdudp 0.0.0.0:8125 -statsdtcp 0.0.0.0:8125

Notice that for Docker usage, you have to listen on 0.0.0.0, since the default 127.0.0.1 won't be reachable from outside the container, even from the Docker host.

changelog

  • v0.1, 13-May-2017: first public release

statsd-vis's People

Contributors

mdevan avatar pataquets avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

statsd-vis's Issues

Saving stats to fs

Hello,

Great library, thanks for your hard work! This is exactly what I was looking for. Was wondering if you had any plans for saving metrics to someplace other than memory? Thanks!

Create Automated Build on Docker Hub

Docker Hub allows you to create Automated Builds from source: https://docs.docker.com/docker-hub/builds/
It would add another packaging/distribution/installation method, whose buildings would be triggered automatically on each commit. It also allows to create different image tags automatically from git tags & branches.
Also, documentation could include an example docker run command which would become the canonical, no-install-needed way to run latest statsd-vis.

By making the image build via an AB, you give the resulting image verifiability and auditability. Also, the build is fully automatic. You can have the latest image tag build from HEAD and individual image tags from git's release tags. Some people avoid non-verifiable (manually uploaded) images due to security & traceability reasons.

After #4 is in, just a free Docker Hub account and a quick setup would do. Ping me if you need help.

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.