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

Add Graphite output #494

Closed
wants to merge 26 commits into from
Closed

Conversation

titilambert
Copy link
Contributor

This is a new PR of #451 rebased on 0.3.0

for field_name, value := range point.Fields() {
// Convert value
var value_str string
switch value := value.(type) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to do this type switch. Just do:

value_str := fmt.Sprintf("%#v", value)

@sparrc
Copy link
Contributor

sparrc commented Jan 14, 2016

looks good, I made a few comments, you can also just have this PR merge back into master now. Thanks for dealing with all the recent changes!

@sparrc sparrc mentioned this pull request Jan 15, 2016
@titilambert
Copy link
Contributor Author

@sparrc Hello ! I fixed all your comments and rebased on master.

@sparrc
Copy link
Contributor

sparrc commented Jan 17, 2016

Awesome, thanks a bunch @titilambert! 👍

@sparrc sparrc closed this in 8cbdf0f Jan 17, 2016
@titilambert titilambert deleted the graphite branch February 20, 2016 05:20
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.

None yet

5 participants