Skip to content

Commit

Permalink
Merge pull request #7383 from influxdata/mr-shard-stats-walpath-tag
Browse files Browse the repository at this point in the history
Add walPath tag to shard stats
  • Loading branch information
mark-rushakoff authored Sep 29, 2016
2 parents 97ea1cd + 97c2f6f commit 11cf759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- [#7285](https://github.com/influxdata/influxdb/issues/7285): Correctly use password-type field in Admin UI. Thanks @dandv!
- [#2792](https://github.com/influxdata/influxdb/issues/2792): Exceeding max retention policy duration gives incorrect error message
- [#7226](https://github.com/influxdata/influxdb/issues/7226): Fix database locked up when deleting shards
- [#7382](https://github.com/influxdata/influxdb/issues/7382): Shard stats include wal path tag so disk bytes make more sense.

## v1.0.1 [2016-09-26]

Expand Down
1 change: 1 addition & 0 deletions tsdb/shard.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func NewShard(id uint64, index *DatabaseIndex, path string, walPath string, opti
stats: &ShardStatistics{},
defaultTags: models.StatisticTags{
"path": path,
"walPath": walPath,
"id": fmt.Sprintf("%d", id),
"database": db,
"retentionPolicy": rp,
Expand Down

0 comments on commit 11cf759

Please sign in to comment.