Comments (6)
For future reference, a bash-client has been added per 5095868.
from statsd.
seems like a good idea. to avoid introducing a dependency on any particular scripting language it should probably be written in C or pure bash (bash can do udp/tcp natively)
from statsd.
Yeah, my though exactly. Didn't know bash did native networking ;)
from statsd.
I agree this could be quite handy in many cases.
With bash, you can just do something like:
open the udp socket:
exec 3<> /dev/udp/statsd_ip_address/8125
send data:
echo "whatever|whatever" >&3
close udp socket:
exec 3<&-
exec 3>&-
from statsd.
There are examples for a couple of languages in the examples directory. I think pretty much all of them can be used (maybe with slight changes) to send metrics from the command line. And there are also a lot of client libraries out there. So given the simplicity of the StatsD protocol, I don't think there is a need for an official cli tool. But if anyone is up for writing a client in shell script for example, we're happy to include it in the examples as long as it is reasonably small.
from statsd.
https://github.com/jondot/statsd-cli
from statsd.
Related Issues (20)
- keep gauges values after statsd server restart HOT 2
- Command line arguments HOT 11
- Gauge type metric stops populating in AWS CloudWatch after some period of time HOT 8
- Document count_* metrics HOT 2
- How to run the docker image? HOT 6
- statsd-proxy: delete state of metrics on ring members change (add or remove)
- Version switcher in online documentation does not work in v3.2.2 and earlier HOT 2
- Using micrometer-registry-statsd doesn't report TimeUnit to DataDog HOT 1
- [Wiki] Link to additional Perl clients HOT 1
- Received timer metrics are not processed correctly into whisper file sometimes
- Where to report security vulnerabilities with the statsd Docker image? HOT 2
- Protocol and payload size in Pickling for Graphite
- Caluculate p90 p95 p99
- Provide Quick-Start for Docker and Configuration
- Display mean/median for timing matrices shows incorrectly on grafana. HOT 2
- New Relic integration GitHub Actions HOT 3
- Support per unit bucket boundaries HOT 1
- Statsd proxy ignores SIGTERM signal
- Allow viewing runs of multiple models from the grouped results page HOT 1
- Docker image is using a deprecated OS and Runtime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from statsd.