Update gopsutil dependency to enable 32-bit builds

This commit is contained in:
Cameron Sparr 2015-09-17 16:35:38 -07:00
parent df15e7b379
commit bbb27fa484
4 changed files with 22 additions and 15 deletions

View File

@ -3,6 +3,9 @@
### Release Notes ### Release Notes
- InfluxDB output config change: `url` is now `urls`, and is a list. Config files - InfluxDB output config change: `url` is now `urls`, and is a list. Config files
will still be backwards compatible if only `url` is specified. will still be backwards compatible if only `url` is specified.
- **Breaking Change**: The CPU collection plugin has been refactored to fix some
bugs and outdated dependency issues. At the same time, I also decided to fix
a naming consistency issue, so cpu_percentageIdle will become cpu_usage_idle
### Features ### Features
- [#143](https://github.com/influxdb/telegraf/issues/143): InfluxDB clustering support - [#143](https://github.com/influxdb/telegraf/issues/143): InfluxDB clustering support
@ -19,6 +22,7 @@ will still be backwards compatible if only `url` is specified.
- [#189](https://github.com/influxdb/telegraf/pull/189): Fix mem_used_perc. Thanks @mced! - [#189](https://github.com/influxdb/telegraf/pull/189): Fix mem_used_perc. Thanks @mced!
- [#192](https://github.com/influxdb/telegraf/issues/192): Increase compatibility of postgresql plugin. Now supports versions 8.1+ - [#192](https://github.com/influxdb/telegraf/issues/192): Increase compatibility of postgresql plugin. Now supports versions 8.1+
- [#203](https://github.com/influxdb/telegraf/issues/203): EL5 rpm support. Thanks @ekini! - [#203](https://github.com/influxdb/telegraf/issues/203): EL5 rpm support. Thanks @ekini!
- [#206](https://github.com/influxdb/telegraf/issues/206): CPU steal/guest values wrong on linux.
## v0.1.8 [2015-09-04] ## v0.1.8 [2015-09-04]

28
Godeps/Godeps.json generated
View File

@ -143,38 +143,38 @@
}, },
{ {
"ImportPath": "github.com/shirou/gopsutil/common", "ImportPath": "github.com/shirou/gopsutil/common",
"Comment": "1.0.0-146-g9c0474c", "Comment": "1.0.0-148-ga369a88",
"Rev": "9c0474c2a7cbea73ea2d93fc5e1ef1c024caf761" "Rev": "a369a8857c47ba9bcf8bbcf316897fa123d73639"
}, },
{ {
"ImportPath": "github.com/shirou/gopsutil/cpu", "ImportPath": "github.com/shirou/gopsutil/cpu",
"Comment": "1.0.0-146-g9c0474c", "Comment": "1.0.0-148-ga369a88",
"Rev": "9c0474c2a7cbea73ea2d93fc5e1ef1c024caf761" "Rev": "a369a8857c47ba9bcf8bbcf316897fa123d73639"
}, },
{ {
"ImportPath": "github.com/shirou/gopsutil/disk", "ImportPath": "github.com/shirou/gopsutil/disk",
"Comment": "1.0.0-146-g9c0474c", "Comment": "1.0.0-148-ga369a88",
"Rev": "9c0474c2a7cbea73ea2d93fc5e1ef1c024caf761" "Rev": "a369a8857c47ba9bcf8bbcf316897fa123d73639"
}, },
{ {
"ImportPath": "github.com/shirou/gopsutil/docker", "ImportPath": "github.com/shirou/gopsutil/docker",
"Comment": "1.0.0-146-g9c0474c", "Comment": "1.0.0-148-ga369a88",
"Rev": "9c0474c2a7cbea73ea2d93fc5e1ef1c024caf761" "Rev": "a369a8857c47ba9bcf8bbcf316897fa123d73639"
}, },
{ {
"ImportPath": "github.com/shirou/gopsutil/load", "ImportPath": "github.com/shirou/gopsutil/load",
"Comment": "1.0.0-146-g9c0474c", "Comment": "1.0.0-148-ga369a88",
"Rev": "9c0474c2a7cbea73ea2d93fc5e1ef1c024caf761" "Rev": "a369a8857c47ba9bcf8bbcf316897fa123d73639"
}, },
{ {
"ImportPath": "github.com/shirou/gopsutil/mem", "ImportPath": "github.com/shirou/gopsutil/mem",
"Comment": "1.0.0-146-g9c0474c", "Comment": "1.0.0-148-ga369a88",
"Rev": "9c0474c2a7cbea73ea2d93fc5e1ef1c024caf761" "Rev": "a369a8857c47ba9bcf8bbcf316897fa123d73639"
}, },
{ {
"ImportPath": "github.com/shirou/gopsutil/net", "ImportPath": "github.com/shirou/gopsutil/net",
"Comment": "1.0.0-146-g9c0474c", "Comment": "1.0.0-148-ga369a88",
"Rev": "9c0474c2a7cbea73ea2d93fc5e1ef1c024caf761" "Rev": "a369a8857c47ba9bcf8bbcf316897fa123d73639"
}, },
{ {
"ImportPath": "github.com/streadway/amqp", "ImportPath": "github.com/streadway/amqp",

View File

@ -318,7 +318,7 @@ func GetDiskSerialNumber(name string) string {
} }
func getFsType(stat syscall.Statfs_t) string { func getFsType(stat syscall.Statfs_t) string {
t := stat.Type t := int64(stat.Type)
ret, ok := fsTypeMap[t] ret, ok := fsTypeMap[t]
if !ok { if !ok {
return "" return ""

View File

@ -13,6 +13,9 @@ plugins that Telegraf supports. See the
[contributing guide](CONTRIBUTING.md) for instructions on [contributing guide](CONTRIBUTING.md) for instructions on
writing new plugins. writing new plugins.
NOTE: Telegraf 0.1.9 will change the name of some cpu usage metrics, see
[CHANGELOG](CHANGELOG.md) for more details.
## Installation: ## Installation:
Due to a breaking change to the InfluxDB integer line-protocol, there Due to a breaking change to the InfluxDB integer line-protocol, there