Tivan is dead, long live Telegraf. Fixes #3
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"runtime"
|
||||
"time"
|
||||
|
||||
cpu "github.com/influxdb/tivan/plugins/system/ps/cpu"
|
||||
cpu "github.com/influxdb/telegraf/plugins/system/ps/cpu"
|
||||
)
|
||||
|
||||
type Process struct {
|
||||
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
"syscall"
|
||||
"unsafe"
|
||||
|
||||
common "github.com/influxdb/tivan/plugins/system/ps/common"
|
||||
cpu "github.com/influxdb/tivan/plugins/system/ps/cpu"
|
||||
net "github.com/influxdb/tivan/plugins/system/ps/net"
|
||||
common "github.com/influxdb/telegraf/plugins/system/ps/common"
|
||||
cpu "github.com/influxdb/telegraf/plugins/system/ps/cpu"
|
||||
net "github.com/influxdb/telegraf/plugins/system/ps/net"
|
||||
)
|
||||
|
||||
// copied from sys/sysctl.h
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"encoding/binary"
|
||||
"unsafe"
|
||||
|
||||
common "github.com/influxdb/tivan/plugins/system/ps/common"
|
||||
cpu "github.com/influxdb/tivan/plugins/system/ps/cpu"
|
||||
net "github.com/influxdb/tivan/plugins/system/ps/net"
|
||||
common "github.com/influxdb/telegraf/plugins/system/ps/common"
|
||||
cpu "github.com/influxdb/telegraf/plugins/system/ps/cpu"
|
||||
net "github.com/influxdb/telegraf/plugins/system/ps/net"
|
||||
)
|
||||
|
||||
// MemoryInfoExStat is different between OSes
|
||||
|
||||
@@ -11,10 +11,10 @@ import (
|
||||
"strings"
|
||||
"syscall"
|
||||
|
||||
common "github.com/influxdb/tivan/plugins/system/ps/common"
|
||||
cpu "github.com/influxdb/tivan/plugins/system/ps/cpu"
|
||||
host "github.com/influxdb/tivan/plugins/system/ps/host"
|
||||
net "github.com/influxdb/tivan/plugins/system/ps/net"
|
||||
common "github.com/influxdb/telegraf/plugins/system/ps/common"
|
||||
cpu "github.com/influxdb/telegraf/plugins/system/ps/cpu"
|
||||
host "github.com/influxdb/telegraf/plugins/system/ps/host"
|
||||
net "github.com/influxdb/telegraf/plugins/system/ps/net"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/influxdb/tivan/plugins/system/ps/common"
|
||||
"github.com/influxdb/telegraf/plugins/system/ps/common"
|
||||
)
|
||||
|
||||
func testGetProcess() Process {
|
||||
|
||||
@@ -11,9 +11,9 @@ import (
|
||||
|
||||
"github.com/shirou/w32"
|
||||
|
||||
common "github.com/influxdb/tivan/plugins/system/ps/common"
|
||||
cpu "github.com/influxdb/tivan/plugins/system/ps/cpu"
|
||||
net "github.com/influxdb/tivan/plugins/system/ps/net"
|
||||
common "github.com/influxdb/telegraf/plugins/system/ps/common"
|
||||
cpu "github.com/influxdb/telegraf/plugins/system/ps/cpu"
|
||||
net "github.com/influxdb/telegraf/plugins/system/ps/net"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user