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

state tag set under zpool_stats should be a field set instead #9 #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

richardelling
Copy link
Owner

Adds duplicate of tag "state" data into a field:

  • for zpool_stats the field is vdev_state
  • for zpool_scan_stats the field is scan_state

Though the data is the same, the tag and field names are different to avoid confusion and the issues described in:
https://docs.influxdata.com/influxdb/v1.8/troubleshooting/frequently-asked-questions/#tag-and-field-key-with-the-same-name

Adds duplicate of tag "state" data into a field:
+ for `zpool_stats` the field is `vdev_state`
+ for `zpool_scan_stats` the field is `scan_state`

Though the data is the same, the tag and field names are different to avoid confusion
and the issues described in:
https://docs.influxdata.com/influxdb/v1.8/troubleshooting/frequently-asked-questions/#tag-and-field-key-with-the-same-name

Signed-off-by: Richard Elling <[email protected]>
Signed-off-by: Richard Elling <[email protected]>
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.

1 participant