File tree Expand file tree Collapse file tree 11 files changed +36
-36
lines changed Expand file tree Collapse file tree 11 files changed +36
-36
lines changed Original file line number Diff line number Diff line change 55install : true
66
77before_script :
8- - mkdir -p $HOME/gopath/src/github.com/ServiceComb /cse-collector
9- - rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/ServiceComb /cse-collector/
10- - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/ServiceComb /cse-collector
11- - cd $HOME/gopath/src/github.com/ServiceComb /cse-collector
8+ - mkdir -p $HOME/gopath/src/github.com/huaweicse /cse-collector
9+ - rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/huaweicse /cse-collector/
10+ - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/huaweicse /cse-collector
11+ - cd $HOME/gopath/src/github.com/huaweicse /cse-collector
1212
1313jobs :
1414 include :
Original file line number Diff line number Diff line change 11### Metric Collector for Go-Chassis
2- [ ![ Build Status] ( https://travis-ci.org/ServiceComb/cse-collector.svg?branch=master )] ( https://travis-ci.org/ServiceComb/cse-collector )
2+ [ ![ Build Status] ( https://travis-ci.org/ServiceComb/cse-collector.svg?branch=master )] ( https://travis-ci.org/ServiceComb/cse-collector )
33This a metric collector for Go-Chassis which collects metrics of the microservices.
44It can collect metrics for each api's exposed by the micro-services. The same data can be
55exposed to Huawei CSE Governance Dashboard.
Original file line number Diff line number Diff line change 88 "net/http"
99 "time"
1010
11- "github.com/ServiceComb /go-chassis/third_party/forked/afex/hystrix-go/hystrix/metric_collector"
11+ "github.com/go-chassis /go-chassis/third_party/forked/afex/hystrix-go/hystrix/metric_collector"
1212 "github.com/rcrowley/go-metrics"
1313)
1414
Original file line number Diff line number Diff line change 11package metricsink
22
33import (
4- "github.com/ServiceComb /go-chassis/third_party/forked/afex/hystrix-go/hystrix/metric_collector"
4+ "github.com/go-chassis /go-chassis/third_party/forked/afex/hystrix-go/hystrix/metric_collector"
55 "github.com/rcrowley/go-metrics"
66 "github.com/stretchr/testify/assert"
77 "testing"
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ import (
77 "runtime"
88 "time"
99
10- "github.com/ServiceComb /go-chassis/core/archaius"
11- "github.com/ServiceComb /go-chassis/core/lager"
12- "github.com/ServiceComb /go-chassis/core/registry"
13- runtime2 "github.com/ServiceComb /go-chassis/pkg/runtime"
10+ "github.com/go-chassis /go-chassis/core/archaius"
11+ "github.com/go-chassis /go-chassis/core/lager"
12+ "github.com/go-chassis /go-chassis/core/registry"
13+ runtime2 "github.com/go-chassis /go-chassis/pkg/runtime"
1414 "github.com/rcrowley/go-metrics"
1515)
1616
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ package metricsink
33import (
44 "crypto/tls"
55 "fmt"
6- "github.com/ServiceComb /go-chassis/core/config"
7- "github.com/ServiceComb /go-chassis/core/config/model"
8- "github.com/ServiceComb /go-chassis/core/lager"
6+ "github.com/go-chassis /go-chassis/core/config"
7+ "github.com/go-chassis /go-chassis/core/config/model"
8+ "github.com/go-chassis /go-chassis/core/lager"
99 "github.com/rcrowley/go-metrics"
1010 "github.com/stretchr/testify/assert"
1111 "gopkg.in/yaml.v2"
Original file line number Diff line number Diff line change 99 "strings"
1010 "time"
1111
12- "github.com/ServiceComb /go-chassis/core/lager"
13- "github.com/ServiceComb /go-chassis/third_party/forked/afex/hystrix-go/hystrix"
12+ "github.com/go-chassis /go-chassis/core/lager"
13+ "github.com/go-chassis /go-chassis/third_party/forked/afex/hystrix-go/hystrix"
1414 "github.com/rcrowley/go-metrics"
1515)
1616
Original file line number Diff line number Diff line change 66 "encoding/json"
77 "errors"
88 "fmt"
9- "github.com/ServiceComb /auth"
9+ "github.com/go-chassis /auth"
1010 "io/ioutil"
1111 "net"
1212 "net/http"
Original file line number Diff line number Diff line change 11package metricsink
22
33import (
4- "github.com/ServiceComb /go-chassis/core/common"
5- "github.com/ServiceComb /go-chassis/core/config"
6- "github.com/ServiceComb /go-chassis/core/lager"
7- chassisMetrics "github.com/ServiceComb /go-chassis/metrics"
8- "github.com/ServiceComb /go-chassis/third_party/forked/afex/hystrix-go/hystrix/metric_collector"
4+ "github.com/go-chassis /go-chassis/core/common"
5+ "github.com/go-chassis /go-chassis/core/config"
6+ "github.com/go-chassis /go-chassis/core/lager"
7+ chassisMetrics "github.com/go-chassis /go-chassis/metrics"
8+ "github.com/go-chassis /go-chassis/third_party/forked/afex/hystrix-go/hystrix/metric_collector"
99 "github.com/rcrowley/go-metrics"
1010 "time"
1111)
Original file line number Diff line number Diff line change @@ -6,18 +6,18 @@ go get github.com/stretchr/testify/assert
66go get gopkg.in/yaml.v2
77go get github.com/Masterminds/glide
88
9- mkdir -p $HOME /gopath/src/github.com/ServiceComb /
10- cd $HOME /gopath/src/github.com/ServiceComb
11- git clone http://github.com/ServiceComb /go-chassis
12- cd $HOME /gopath/src/github.com/ServiceComb /go-chassis
9+ mkdir -p $HOME /gopath/src/github.com/go-chassis /
10+ cd $HOME /gopath/src/github.com/go-chassis
11+ git clone http://github.com/go-chassis /go-chassis
12+ cd $HOME /gopath/src/github.com/go-chassis /go-chassis
1313glide install
14- mkdir -p $HOME /gopath/src/github.com/ServiceComb /go-chassis/vendor/github.com/ServiceComb /cse-collector/
15- rsync -az ${TRAVIS_BUILD_DIR} / $HOME /gopath/src/github.com/ServiceComb /go-chassis/vendor/github.com/ServiceComb /cse-collector/
16- export TRAVIS_BUILD_DIR=$HOME /gopath/src/github.com/ServiceComb /go-chassis/vendor/github.com/ServiceComb /cse-collector/
17- cd $HOME /gopath/src/github.com/ServiceComb /go-chassis/vendor/github.com/ServiceComb /cse-collector/
14+ mkdir -p $HOME /gopath/src/github.com/go-chassis /go-chassis/vendor/github.com/huaweicse /cse-collector/
15+ rsync -az ${TRAVIS_BUILD_DIR} / $HOME /gopath/src/github.com/go-chassis /go-chassis/vendor/github.com/huaweicse /cse-collector/
16+ export TRAVIS_BUILD_DIR=$HOME /gopath/src/github.com/go-chassis /go-chassis/vendor/github.com/huaweicse /cse-collector/
17+ cd $HOME /gopath/src/github.com/go-chassis /go-chassis/vendor/github.com/huaweicse /cse-collector/
1818
1919
20- cd $GOPATH /src/github.com/ServiceComb /go-chassis/vendor/github.com/ServiceComb /cse-collector
20+ cd $GOPATH /src/github.com/go-chassis /go-chassis/vendor/github.com/huaweicse /cse-collector
2121# Start unit test
2222for d in $( go list ./...) ; do
2323 echo $d
You can’t perform that action at this time.
0 commit comments