Skip to content

Make statsd as a proper node_module #485

Open
@rektide

Description

@rektide

It'd be lovely to see Statsd grow support material to use it as a library, rather than as a standalone daemon. Rather than app->(statsd->statsd-backend)->storage, it'd be great to have (app->statsd-backend as a single process)->storage, for operational ease (the Dropwizard "the app is the app and requires little else" philosophy) and for footprint.

Activity

modified the milestone: 1.0.0 Release on Feb 20, 2015
mrtazz

mrtazz commented on Feb 20, 2015

@mrtazz
Member

Can you elaborate a little bit on how do you want to use it? But in general the nodejs runtime is already somewhat limited when it comes to computation heavy things. So I'd probably advice against running StatsD fully inline in your app (if that's what you're getting at).

rektide

rektide commented on Feb 20, 2015

@rektide
Author

I'd like deployable applications that use the statsd backends to output metrics. I'm unsure how much front end could or should be made use of to do that, and looking for some guidance as to what might make good starting places to begin using statsd / statsd-backends inline.

changed the title Support docs for use as a library Make statsd as a proper node_module on Jul 17, 2015
added this to the v1.0.0 Release milestone on Jul 17, 2015
coykitten

coykitten commented on Jul 17, 2015

@coykitten
Contributor

@rektide We're a ways off from being able to require('statsd'); in another application but generally I think it's where we want to go. Currently the main application file, stats.js, is not a proper node_module as statsd was written when nodejs was new and best practices for Common.js requires and the like were still being developed.

I've gone ahead and added your request to the 1.0 milestone as I think that this is something that should be addressed but is still a major refactor.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new feature, or a feature request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Make statsd as a proper node_module · Issue #485 · statsd/statsd