Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@q42philips/statsd-daemon

Package Overview
Dependencies
Maintainers
13
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@q42philips/statsd-daemon - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

.git

2

package.json
{
"name": "@q42philips/statsd-daemon",
"version": "1.1.1",
"version": "1.1.2",
"description": "Simple statsd deamon to observe metrics being emitted on localhost",

@@ -5,0 +5,0 @@ "main": "src/index.js",

# Statsd Daemon
This repository contains a simple statsd UDP server. When you run it on your local machine any other application emitting StatsD metrics to localhost will end up on the console output of this statsd-deamon.
This is a simple statsd UDP server which can receive the telemetry emitted by your local statsd clients. When you run it on your machine any other application emitting StatsD metrics to localhost will end up on the console output of this statsd-deamon:
Handy if you want to verify if your metrics are what you expect them to be.
![Awesome console output](https://cloud.githubusercontent.com/assets/570645/26489437/a80df072-4207-11e7-9c20-b1cfaa7e60d0.png)
NOTE: this is by no means a full-fledged statsd aggregator.
This is especially usefull if you want to verify your applications behaviour locally before shipping and having to rely on the roundtrip with your time series database accumulating your metrics. There is no aggregation being done; the metrics are piped to the console with some color coding enhancement.
# Usage
## Usage
## Install
### Install
You can install globally for convenience, which will add a `statsd-daemon` executable to your path:

@@ -17,3 +17,3 @@ ```

# Run
### Run
If installed globally:

@@ -29,12 +29,12 @@ ```

# Contributing
## Contributing
## Local development
### Local development
You can also create a symlink in your global node modules, making the `hue` binary globally accessible. Note that this only works if you first uninstall the NPM version
You can also create a symlink in your global node modules, making the `statsd-daemon` binary globally accessible. Note that this only works if you first uninstall the NPM version
``` bash
$ npm uninstall -g @q42philips/statsd-daemon
$ npm link
$ hue <command>
$ statsd-daemon
```

@@ -48,4 +48,4 @@

## Creating a new release
After PRs are merged to master, you can create a new version using npm. Please carefully check the changes made since the last release and [choose your update type accordingly](http://semver.org/), then create a new version using the command below. This will succeed only if the tests pass, to avoid versioning broken code. It will also push the newly created tag to this repository.
### Creating a new release
After PRs are merged to master, you can create a new version using NPM. Please carefully check the changes made since the last release and [choose your update type accordingly](http://semver.org/), then create a new version using the command below. This will succeed only if the tests pass, to avoid versioning broken code. It will also push the newly created tag to this repository.
``` bash

@@ -61,1 +61,6 @@ $ npm version <major|minor|patch>

Finally, please take the time to add a changelog to the newly created release on Github, noting the new features, fixes or other notable stuff.
### LICENSE
MIT License

@@ -12,4 +12,4 @@ #! /usr/bin/env node

const PORT = 8125;
const HOST = '127.0.0.1';
const PORT = process.env.LISTEN_PORT ? parseInt(process.env.LISTEN_PORT, 10) : 8125;
const HOST = process.env.LISTEN_HOST || '127.0.0.1';

@@ -16,0 +16,0 @@ server.on('listening', () => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc