Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1034 from dneuman64/dev
Browse files Browse the repository at this point in the history
This updates traffic stats to use the new github repo for influxdb (github.com/influxdata)
  • Loading branch information
trevorackerman committed Feb 11, 2016
2 parents 3990b3e + 4691f9f commit f33df8e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion traffic_stats/build/traffic_stats.spec
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ oldpwd=$(pwd)
cd "$godir" && \
cp -r "$TC_DIR"/traffic_stats/* . && \
go get -d -v && \
go_get_version "$oldpwd"/src/github.com/influxdb/influxdb v0.9.6.1 && \
go_get_version "$oldpwd"/src/github.com/influxdata/influxdb && \
go install -v \
) || { echo "Could not build go program at $(pwd): $!"; exit 1; }

Expand Down
10 changes: 5 additions & 5 deletions traffic_stats/influxdb_tools/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ For more information see: http://traffic-control-cdn.net/docs/latest/admin/traff

Pre-Requisites:
1. Go 1.5.x or later
2. Influxdb 0.9.6.1 or later
2. Influxdb
3. configured $GOPATH (e.g. export GOPATH=~/go)

Using create_ts_databases.go
1. Install InfluxDb Client (0.9.6.1 version)
1. Install InfluxDb Client
- go get github.com/influxdata/influxdb
- cd $GOPATH/src/github.com/influxdata/influxdb
- git checkout 0.9.6.1
- git checkout v0.9.6.1 (or whatever version of influxdb you are running)
- go install

2. Build it
Expand All @@ -28,10 +28,10 @@ Using create_ts_databases.go


Using sync_ts_databases.go
1. Install InfluxDb Client (0.9.4 version)
1. Install InfluxDb Client (0.9.6.1 version)
- go get github.com/influxdata/influxdb
- cd $GOPATH/src/github.com/influxdata/influxdb
- git checkout 0.9.4
- git checkout v0.9.6.1
- go install

2. Build it
Expand Down
2 changes: 1 addition & 1 deletion traffic_stats/influxdb_tools/create_ts_databases.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"flag"
"fmt"

influx "github.com/influxdb/influxdb/client/v2"
influx "github.com/influxdata/influxdb/client/v2"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion traffic_stats/influxdb_tools/sync_ts_databases.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"os"
"time"

influx "github.com/influxdb/influxdb/client/v2"
influx "github.com/influxdata/influxdb/client/v2"
)

type cacheStats struct {
Expand Down
2 changes: 1 addition & 1 deletion traffic_stats/traffic_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (

traffic_ops "github.com/Comcast/traffic_control/traffic_ops/client"
log "github.com/cihub/seelog"
influx "github.com/influxdb/influxdb/client/v2"
influx "github.com/influxdata/influxdb/client/v2"
)

const (
Expand Down

0 comments on commit f33df8e

Please sign in to comment.