Skip to content

Commit

Permalink
revise usage_recorder.go
Browse files Browse the repository at this point in the history
  • Loading branch information
limowang committed Jan 4, 2024
1 parent be84904 commit 1cdec2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Binary file removed collector/main
Binary file not shown.
3 changes: 3 additions & 0 deletions collector/metrics/metric_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ func getReplicaAddrs() ([]string, error) {
return rserverAddrs, nil
}

//Get metrics with new labels


//Get all metrics of meta-server and replica-server by their addrs
func getAllMetricsByAddrs(addrs []string) {
for _, addr := range addrs {
Expand Down
2 changes: 1 addition & 1 deletion collector/usage/usage_recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"time"

"github.com/apache/incubator-pegasus/go-client/pegasus"
"github.com/pegasus-kv/collector/aggregate"
"github.com/limowang/incubator-pegasus/collector/aggregate"
log "github.com/sirupsen/logrus"
"github.com/spf13/viper"
"gopkg.in/tomb.v2"
Expand Down

0 comments on commit 1cdec2b

Please sign in to comment.