-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add Graphite output #494
Conversation
With HTTP JSON or Elasticsearch, one can also process values nested in arrays.
for field_name, value := range point.Fields() { | ||
// Convert value | ||
var value_str string | ||
switch value := value.(type) { |
There was a problem hiding this comment.
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)
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! |
While at it also add a missing dependency on lsof required by the netstat plugin. closes influxdata#512
…ition in post-install. closes influxdata#526 closes influxdata#525
also mentioned name_override and name_prefix on top of name_suffix
…-v0.10 interval options should have string value
@sparrc Hello ! I fixed all your comments and rebased on master. |
Awesome, thanks a bunch @titilambert! 👍 |
This is a new PR of #451 rebased on 0.3.0