parent
2b966b40f2
commit
422d240afb
|
@ -14,6 +14,7 @@ changed to just run docker commands in the Makefile. See `make docker-run` and
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
- [#331](https://github.com/influxdb/telegraf/pull/331): Dont overwrite host tag in redis plugin.
|
- [#331](https://github.com/influxdb/telegraf/pull/331): Dont overwrite host tag in redis plugin.
|
||||||
|
- [#336](https://github.com/influxdb/telegraf/pull/336): Mongodb plugin should take 2 measurements.
|
||||||
|
|
||||||
## v0.2.0 [2015-10-27]
|
## v0.2.0 [2015-10-27]
|
||||||
|
|
||||||
|
|
2
agent.go
2
agent.go
|
@ -314,7 +314,7 @@ func (a *Agent) Test() error {
|
||||||
// Special instructions for some plugins. cpu, for example, needs to be
|
// Special instructions for some plugins. cpu, for example, needs to be
|
||||||
// run twice in order to return cpu usage percentages.
|
// run twice in order to return cpu usage percentages.
|
||||||
switch plugin.name {
|
switch plugin.name {
|
||||||
case "cpu":
|
case "cpu", "mongodb":
|
||||||
time.Sleep(500 * time.Millisecond)
|
time.Sleep(500 * time.Millisecond)
|
||||||
fmt.Printf("* Plugin: %s, Collection 2\n", plugin.name)
|
fmt.Printf("* Plugin: %s, Collection 2\n", plugin.name)
|
||||||
if err := plugin.plugin.Gather(acc); err != nil {
|
if err := plugin.plugin.Gather(acc); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue