Skip to content

Commit

Permalink
Rename packages for Github path
Browse files Browse the repository at this point in the history
  • Loading branch information
RobAtticus committed Aug 7, 2018
1 parent da63c7b commit 84e5bfe
Show file tree
Hide file tree
Showing 55 changed files with 97 additions and 97 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,20 @@ scripts). The easiest way to get and install the Go programs is to use
```bash
# Fetch TSBS and its dependencies
$ go get github.com/timescale/tsbs
$ cd $GOPATH/src/github.com/timescaledb/tsbs/cmd
$ cd $GOPATH/src/github.com/timescale/tsbs/cmd
$ go get ./...

# Install desired binaries. At a minimum this includes tsbs_generate_data,
# tsbs_generate_queries, one tsbs_load_* binary, and one tsbs_run_queries_*
# binary:
$ cd $GOPATH/src/github.com/timescaledb/tsbs/cmd
$ cd $GOPATH/src/github.com/timescale/tsbs/cmd
$ cd tsbs_generate_data && go install
$ cd ../tsbs_generate_queries && go install
$ cd ../tsbs_load_timescaledb && go install
$ cd ../tsbs_run_queries_timescaledb && go install

# Optionally, install all binaries:
$ cd $GOPATH/src/github.com/timescaledb/tsbs/cmd
$ cd $GOPATH/src/github.com/timescale/tsbs/cmd
$ go install ./...
```

Expand Down
2 changes: 1 addition & 1 deletion cmd/tsbs_generate_data/common/simulation.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package common
import (
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

// SimulatorConfig is an interface to create a Simulator from a time.Duration
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/common_generate_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package devops
import (
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

type commonDevopsSimulator struct {
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/cpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"math/rand"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/cpu_only_generate_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package devops
import (
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

// A CPUOnlySimulator generates data similar to telemetry from Telegraf for only CPU metrics.
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"math/rand"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/diskio.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"math/rand"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/generate_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package devops
import (
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

// DevopsSimulator generates data similar to telemetry, with metrics from a variety of device systems.
Expand Down
2 changes: 1 addition & 1 deletion cmd/tsbs_generate_data/devops/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"math/rand"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
)

// Count of choices for auto-generated tag values:
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/kernel.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"math/rand"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/measurement.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package devops
import (
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

type subsystemMeasurement struct {
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/measurement_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"testing"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

type monotonicDistribution struct {
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/mem.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"math/rand"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"math/rand"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"math/rand"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/postgresql.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package devops
import (
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/rand.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package devops
import (
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/devops/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"math/rand"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions cmd/tsbs_generate_data/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"strings"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/common"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/devops"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/common"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/devops"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_data/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"bytes"
"testing"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/devops"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_data/serialize"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/devops"
"github.com/timescale/tsbs/cmd/tsbs_generate_data/serialize"
)

func TestValidateFormat(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/tsbs_generate_queries/databases/cassandra/devops.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"strings"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/uses/devops"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/utils"
"bitbucket.org/440-labs/tsbs/query"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/uses/devops"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/utils"
"github.com/timescale/tsbs/query"
)

// Devops produces Cassandra-specific queries for all the devops query types.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"bitbucket.org/440-labs/tsbs/query"
"github.com/timescale/tsbs/query"
)

func TestDevopsGetHostWhereWithHostnames(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_queries/databases/influx/devops.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/uses/devops"
"bitbucket.org/440-labs/tsbs/query"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/uses/devops"
"github.com/timescale/tsbs/query"
)

// Devops produces Influx-specific queries for all the devops query types.
Expand Down
2 changes: 1 addition & 1 deletion cmd/tsbs_generate_queries/databases/influx/devops_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"bitbucket.org/440-labs/tsbs/query"
"github.com/timescale/tsbs/query"
)

func TestDevopsGetHostWhereWithHostnames(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_queries/databases/mongo/devops-naive.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/uses/devops"
"bitbucket.org/440-labs/tsbs/query"
"github.com/globalsign/mgo/bson"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/uses/devops"
"github.com/timescale/tsbs/query"
)

func init() {
Expand Down
6 changes: 3 additions & 3 deletions cmd/tsbs_generate_queries/databases/mongo/devops.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/uses/devops"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/utils"
"bitbucket.org/440-labs/tsbs/query"
"github.com/globalsign/mgo/bson"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/uses/devops"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/utils"
"github.com/timescale/tsbs/query"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_queries/databases/timescaledb/devops.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/uses/devops"
"bitbucket.org/440-labs/tsbs/query"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/uses/devops"
"github.com/timescale/tsbs/query"
)

// Devops produces TimescaleDB-specific queries for all the devops query types.
Expand Down
12 changes: 6 additions & 6 deletions cmd/tsbs_generate_queries/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import (
"sort"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/databases/cassandra"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/databases/influx"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/databases/mongo"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/databases/timescaledb"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/uses/devops"
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/utils"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/databases/cassandra"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/databases/influx"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/databases/mongo"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/databases/timescaledb"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/uses/devops"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/utils"
)

var useCaseMatrix = map[string]map[string]utils.QueryFillerMaker{
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_queries/uses/devops/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"reflect"
"time"

"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/utils"
"bitbucket.org/440-labs/tsbs/query"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/utils"
"github.com/timescale/tsbs/query"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_queries/uses/devops/groupby.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package devops

import (
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/utils"
"bitbucket.org/440-labs/tsbs/query"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/utils"
"github.com/timescale/tsbs/query"
)

// Groupby produces a QueryFiller for the devops groupby case.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package devops

import (
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/utils"
"bitbucket.org/440-labs/tsbs/query"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/utils"
"github.com/timescale/tsbs/query"
)

// GroupByOrderByLimit produces a filler for queries in the devops groupby-orderby-limit case.
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_queries/uses/devops/high_cpu.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package devops

import (
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/utils"
"bitbucket.org/440-labs/tsbs/query"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/utils"
"github.com/timescale/tsbs/query"
)

// HighCPU produces a QueryFiller for the devops high-cpu cases
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_queries/uses/devops/lastpoint.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package devops

import (
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/utils"
"bitbucket.org/440-labs/tsbs/query"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/utils"
"github.com/timescale/tsbs/query"
)

// LastPointPerHost returns QueryFiller for the devops lastpoint case
Expand Down
4 changes: 2 additions & 2 deletions cmd/tsbs_generate_queries/uses/devops/max_all_cpu.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package devops

import (
"bitbucket.org/440-labs/tsbs/cmd/tsbs_generate_queries/utils"
"bitbucket.org/440-labs/tsbs/query"
"github.com/timescale/tsbs/cmd/tsbs_generate_queries/utils"
"github.com/timescale/tsbs/query"
)

// MaxAllCPU contains info for filling in a query.Query for "max all" queries
Expand Down
Loading

0 comments on commit 84e5bfe

Please sign in to comment.