This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package stats
|
||||
|
||||
import (
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
|
||||
"github.com/seaweedfs/seaweedfs/weed/glog"
|
||||
"github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"
|
||||
)
|
||||
|
||||
func NewDiskStatus(path string) (disk *volume_server_pb.DiskStatus) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
package stats
|
||||
|
||||
import "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
|
||||
import "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"
|
||||
|
||||
func fillInDiskStatus(status *volume_server_pb.DiskStatus) {
|
||||
return
|
||||
|
||||
@@ -6,7 +6,7 @@ package stats
|
||||
import (
|
||||
"syscall"
|
||||
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
|
||||
"github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"
|
||||
)
|
||||
|
||||
func fillInDiskStatus(disk *volume_server_pb.DiskStatus) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package stats
|
||||
|
||||
import (
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
|
||||
"github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"
|
||||
"golang.org/x/sys/windows"
|
||||
"syscall"
|
||||
"unsafe"
|
||||
|
||||
@@ -3,7 +3,7 @@ package stats
|
||||
import (
|
||||
"runtime"
|
||||
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
|
||||
"github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"
|
||||
)
|
||||
|
||||
func MemStat() *volume_server_pb.MemStatus {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
package stats
|
||||
|
||||
import "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
|
||||
import "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"
|
||||
|
||||
func fillInMemStatus(status *volume_server_pb.MemStatus) {
|
||||
return
|
||||
|
||||
@@ -6,7 +6,7 @@ package stats
|
||||
import (
|
||||
"syscall"
|
||||
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
|
||||
"github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"
|
||||
)
|
||||
|
||||
func fillInMemStatus(mem *volume_server_pb.MemStatus) {
|
||||
|
||||
@@ -10,11 +10,11 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/client_golang/prometheus/collectors"
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
"github.com/prometheus/client_golang/prometheus/push"
|
||||
"github.com/seaweedfs/seaweedfs/weed/glog"
|
||||
)
|
||||
|
||||
// Readonly volume types
|
||||
|
||||
Reference in New Issue
Block a user