only count shard if it's non-empty

closes #1221
This commit is contained in:
Cameron Sparr
2016-05-24 21:05:30 +01:00
parent 9966099d1a
commit 6351aa5167
3 changed files with 6 additions and 5 deletions

View File

@@ -9,6 +9,7 @@
### Bugfixes
- [#1252](https://github.com/influxdata/telegraf/pull/1252): Fix systemd service. Thanks @zbindenren!
- [#1221](https://github.com/influxdata/telegraf/pull/1221): Fix influxdb n_shards counter.
## v0.13.1 [2016-05-24]