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 style reporting #18

Closed
jpillora opened this issue Mar 26, 2014 · 6 comments
Closed

statsd style reporting #18

jpillora opened this issue Mar 26, 2014 · 6 comments

Comments

@jpillora
Copy link

I know it goes against the intended design of being mostly idle, so close if no - however, would (batched?) transmission of trace data (during low cpu time?) over udp to a remote server ever be in scope? What's your solution for historical data?

@tj
Copy link
Member

tj commented Mar 26, 2014

nah, it's tempting to bunch logging/stats/tracing into once since they're related in most ways but we'll have to try and keep it focused as a live debugging tool

@jpillora
Copy link
Author

fair enough

@jpillora
Copy link
Author

just curious though, what's your solution for logging historical data?

@tj
Copy link
Member

tj commented Mar 27, 2014

We slap statsd-style counters on most things but if you have say 15 async calls that make up one task, it gets a little crazy to report on all of those, and if you have runtime issues there's often a lot of questions that can't be answered with logging or stats.

https://github.com/component/trace is probably more what you're thinking, I wouldn't mind working on similar for node with statsd support, we use stackdriver right now but proxying through statsd would be fine

@jpillora
Copy link
Author

Damn, and do you use statsd as the backend? Statsd is popular but doesn't feel very nodey - feels like there's too many dependencies - weird architectural decisions made. I would love to see a complete statsd-compatible node stack, with client->server->database->real-time graphing/querying.

We're currently writing a round-robin-like database on top of leveldb as a statsd backend, which could be one piece of the puzzle. Unfortunately though, it looks like we're still a ways away from it being a simple npm install statsd-stack!

@tj
Copy link
Member

tj commented Mar 27, 2014

Nah we only use statds for NSQ right now. statsd itself is definitely sloppy IMO, but there's even a go statsd, I haven't really looked at the client code but I'm sure that could be reworked as well

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

No branches or pull requests

2 participants