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

Embedded C client/sink library #230

Open
ghost opened this issue Feb 7, 2017 · 1 comment
Open

Embedded C client/sink library #230

ghost opened this issue Feb 7, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 7, 2017

Hi statsite team! I've been using statsite for a while now as a central stats aggregation service on an embedded product and in the process have developed a simple C library for processes that has the following capabilities:

  • client: macros/functions to log stats quickly/performantly to the central statsite server. Supports timers, counters, gauges, etc.
  • sink: function to parse binary sink messages from statsite server to a custom C-based sink. Basically a blocking API that returns a message struct that can then be used for whatever purposes you want. Will also indicate EOF on the sink stream.

Currently my make system compiles this into a simple library, libstatsite that my other processes link to if they want statsite functionality.

Is this something you'd want to include on this repo? If so, how would you recommend we go about getting it in? If not I can put it in its own repo.

@johnkeates
Copy link
Contributor

I think it would be an interesting addition, maybe we could add it to the statsite organisation first, and see how it goes from there.

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

1 participant