https://github.com/monzo/phosphord
Trace Forwarding Daemon
https://github.com/monzo/phosphord
Last synced: about 1 year ago
JSON representation
Trace Forwarding Daemon
- Host: GitHub
- URL: https://github.com/monzo/phosphord
- Owner: monzo
- License: apache-2.0
- Created: 2015-02-09T16:05:02.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-18T13:35:52.000Z (almost 11 years ago)
- Last Synced: 2025-03-21T06:33:22.752Z (over 1 year ago)
- Language: Go
- Homepage: https://phosphor.io
- Size: 183 KB
- Stars: 10
- Watchers: 17
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PhosphorD
PhosphorD is a local forwarder, like StatsD, which receives traces from the Phosphor client, and forwards to the [Phosphor server](https://github.com/mondough/phosphor).
Currently this receives Traces over UDP, which prevents clients blocking, but is reasonably reliable on a local machine. In the event this blocks, traces will be dropped and lost.
A future improvement would make this configurable to read from local files, mirroring the behaviour of Dapper Daemons as described in the [Google Dapper](https://research.google.com/pubs/pub36356.html) paper.
## Usage
`go get github.com/mondough/phosphord`
### Command line options
```
-buffer-size=200: set the maximum number of traces buffered per worker before batch sending
-nsq-topic="trace": nsq topic to forward traces to
-nsqd-tcp-address=: nsqd TCP address (may be given multiple times)
-num-forwarders=20: set the number of workers which buffer and forward traces
-verbose=false: enable verbose logging
```