├── .circleci └── config.yml ├── .github └── workflows │ └── build-integration.yml ├── .gitignore ├── .goreleaser.yml ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── VERSION ├── cmd └── pgreplay │ └── main.go ├── compose.yml ├── dev.dockerfile ├── go.mod ├── go.sum ├── pkg └── pgreplay │ ├── database.go │ ├── integration │ ├── integration_test.go │ ├── suite_test.go │ └── testdata │ │ ├── single_user.go │ │ ├── single_user.json │ │ ├── single_user.log │ │ └── structure.sql │ ├── parse.go │ ├── parse_test.go │ ├── prom_server.go │ ├── streamer.go │ ├── suite_test.go │ ├── types.go │ └── types_test.go └── res ├── grafana-dashboard-pgreplay-go.json └── grafana.jpg /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.github/workflows/build-integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/.github/workflows/build-integration.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | dist/ 3 | vendor/ 4 | -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/.goreleaser.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/README.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.1.3 2 | -------------------------------------------------------------------------------- /cmd/pgreplay/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/cmd/pgreplay/main.go -------------------------------------------------------------------------------- /compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/compose.yml -------------------------------------------------------------------------------- /dev.dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/dev.dockerfile -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/go.sum -------------------------------------------------------------------------------- /pkg/pgreplay/database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/database.go -------------------------------------------------------------------------------- /pkg/pgreplay/integration/integration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/integration/integration_test.go -------------------------------------------------------------------------------- /pkg/pgreplay/integration/suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/integration/suite_test.go -------------------------------------------------------------------------------- /pkg/pgreplay/integration/testdata/single_user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/integration/testdata/single_user.go -------------------------------------------------------------------------------- /pkg/pgreplay/integration/testdata/single_user.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/integration/testdata/single_user.json -------------------------------------------------------------------------------- /pkg/pgreplay/integration/testdata/single_user.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/integration/testdata/single_user.log -------------------------------------------------------------------------------- /pkg/pgreplay/integration/testdata/structure.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/integration/testdata/structure.sql -------------------------------------------------------------------------------- /pkg/pgreplay/parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/parse.go -------------------------------------------------------------------------------- /pkg/pgreplay/parse_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/parse_test.go -------------------------------------------------------------------------------- /pkg/pgreplay/prom_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/prom_server.go -------------------------------------------------------------------------------- /pkg/pgreplay/streamer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/streamer.go -------------------------------------------------------------------------------- /pkg/pgreplay/suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/suite_test.go -------------------------------------------------------------------------------- /pkg/pgreplay/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/types.go -------------------------------------------------------------------------------- /pkg/pgreplay/types_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/pkg/pgreplay/types_test.go -------------------------------------------------------------------------------- /res/grafana-dashboard-pgreplay-go.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/res/grafana-dashboard-pgreplay-go.json -------------------------------------------------------------------------------- /res/grafana.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gocardless/pgreplay-go/HEAD/res/grafana.jpg --------------------------------------------------------------------------------