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 ZFS plugin #341

Closed
wants to merge 3 commits into from
Closed

add ZFS plugin #341

wants to merge 3 commits into from

Conversation

cornerot
Copy link
Contributor

@cornerot cornerot commented Nov 3, 2015

for _, metric := range kstatMetrics {
lines, err := common.ReadLines(kstatPath + "/" + metric)
if err != nil {
panic(err)
Copy link
Contributor

Choose a reason for hiding this comment

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

We shouldn't panic all of Telegraf here, probably should just return err

@cornerot
Copy link
Contributor Author

cornerot commented Nov 4, 2015

I can add and the others, but these more demanded

@sparrc
Copy link
Contributor

sparrc commented Nov 6, 2015

@cornerot don't worry about the other stats, but I need you to remove the panic before I can merge this. Could you also do me a favor and update the README and CHANGELOG?

thanks much!

@cornerot
Copy link
Contributor Author

cornerot commented Nov 9, 2015

ok!

@cornerot
Copy link
Contributor Author

cornerot commented Nov 9, 2015

CHANGELOG string:

- [#317](https://github.com/influxdb/telegraf/issues/317): ZFS plugin, thanks @cornerot!

@sparrc sparrc closed this in 1a05899 Nov 9, 2015
allenj pushed a commit to allenj/telegraf that referenced this pull request Nov 18, 2015
also added zfs plugin to README.md

closes influxdata#341
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.

2 participants