Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statsd collector #196

Closed
geekdave opened this issue May 3, 2017 · 3 comments
Closed

statsd collector #196

geekdave opened this issue May 3, 2017 · 3 comments

Comments

@geekdave
Copy link
Contributor

geekdave commented May 3, 2017

geekdave [8:35 AM]
@Emily Tangent to that thought - Could this be a good time to output to a more general timeseries protocol like statsd rather than speaking InfluxDB's protocol directly?

I'm a big fan of InfluxDB myself - but am considering going "back to Graphite" for my load testing dashboards for one main reason: InfluxDB does not support math across measurements (influxdata/influxdb#3552).

Why does this matter? Because ideally I want to create some Grafana dashboards that distill down a bunch of results into some easy-to-reason stats like "this endpoint is 30% faster than it was last month". With InfluxDB-backed dashboards, I can plot two lines and let the viewer make their own visual determination, but with Graphite, I could do the math for them.

If k6 outputted to statsd, then statsd could feed into InfluxDB, Graphite, DataDog, whatever... (edited)

emily [8:40 AM]
We could totally add statsd support, Collectors live rather independent of the rest of the application and adding one would be really easy, but I don't think it should be the only option; -o influxdb=http://localhost:8086/k6 makes for much nicer onboarding than having to spin up a statsd proxy in front of InfluxDB to get your metrics in there

@geekdave
Copy link
Contributor Author

geekdave commented May 3, 2017

Gonna take a crack at PR'ing this myself!

@ppcano
Copy link
Contributor

ppcano commented Nov 28, 2017

Related issue #343 (Add additional stats provider)

@ppcano
Copy link
Contributor

ppcano commented May 7, 2019

For reference, the instructions of the k6/StatsD collector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants