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

support pickle to graphite. #312

Closed
wants to merge 6 commits into from
Closed

Conversation

aronatkins
Copy link
Contributor

Add support for the graphite pickle wire protocol.

There are two new configuration options related to graphite:

    { graphitePicklePort: 2004,
      graphiteProtocol: "pickle" }

If graphiteProtocol is configured as pickle then the graphitePicklePort is used instead of the current graphitePort configuration. Both graphitePicklePort and graphitePort now default to their well-known values, making them optional.

The limited implementation of the Python pickle format required for Graphite support is documented in graphite_pickle.md.

The tests in graphite_pickle_tests.js invoke a Python script to verify that the packets received over the wire are able to be interpreted. This means that a Python interpreter is expected to be in the path. We are open to discussing alternate testing options.

@jspiewak
Copy link

Any possibility of this being merged?
Or getting feedback that would allow for it to be merged?

@bmhatfield
Copy link
Contributor

+1 to getting this merged. Sending in metric line format is overwhelming my carbon-relay daemons!

@jrothfeder
Copy link

++, yeah, would be really sweet to have 😄

@mrtazz
Copy link
Member

mrtazz commented Apr 14, 2014

Hey sorry it took me so long to get back to you on this. I totally dropped the ball on this. Could you rebase this on the newest master? I'll merge it then. Awesome contribution, thank you so much for this!

@gquinones
Copy link

It's a shame to see this fruit wither in a branch.

@mrtazz
Copy link
Member

mrtazz commented Jul 9, 2015

@aronatkins do you have time to update this for the current master branch?

@aronatkins
Copy link
Contributor Author

@mrtazz I'll try and make time. Unfortunately, it's basically a rewrite. Maybe its best to close this PR until that can happen (in the spirit of "spring cleaning" 😁 ).

@aronatkins
Copy link
Contributor Author

#528 is the same work ported to a new branch based off current master. Closing this PR as obsolete.

@aronatkins aronatkins closed this Jul 10, 2015
@xueyichen
Copy link

When I use pickle, every flush metrics, logs
16 Mar 11:20:06 - DEBUG: numStats: 2504
16 Mar 11:20:06 - DEBUG: numStats: 4399
16 Mar 11:20:06 - DEBUG: numStats: 5846
16 Mar 11:20:06 - DEBUG: numStats: 6308
16 Mar 11:20:06 - DEBUG: Error: write EPIPE
16 Mar 11:20:06 - DEBUG: Error: write EPIPE
16 Mar 11:20:06 - DEBUG: Error: write EPIPE

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

Successfully merging this pull request may close these issues.

7 participants