Skip to content

Commit

Permalink
chore: move to ory analytics fork (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Apr 3, 2020
1 parent 1e52100 commit f824011
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 12 deletions.
9 changes: 7 additions & 2 deletions cmd/server/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ package server
import (
"crypto/tls"
"net/http"
"time"

"github.com/segmentio/analytics-go"
"github.com/ory/analytics-go/v4"

"github.com/ory/keto/driver"
"github.com/ory/x/logrusx"
Expand Down Expand Up @@ -88,7 +89,11 @@ func RunServe(
BuildTime: date,
BuildHash: commit,
Config: &analytics.Config{
Endpoint: "https://sqa.ory.sh",
Endpoint: "https://sqa.ory.sh",
GzipCompressionLevel: 6,
BatchMaxSize: 500 * 1000,
BatchSize: 250,
Interval: time.Hour * 24,
},
},
)
Expand Down
10 changes: 4 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/go-openapi/strfmt v0.19.3
github.com/go-openapi/swag v0.19.5
github.com/go-openapi/validate v0.19.3
github.com/go-sql-driver/mysql v1.4.1
github.com/go-sql-driver/mysql v1.5.0
github.com/go-swagger/go-swagger v0.21.1-0.20200107003254-1c98855b472d
github.com/gobuffalo/packr v1.24.1
github.com/gobwas/glob v0.2.3 // indirect
Expand All @@ -21,30 +21,28 @@ require (
github.com/julienschmidt/httprouter v1.2.0
github.com/kardianos/osext v0.0.0-20170510131534-ae77be60afb1 // indirect
github.com/open-policy-agent/opa v0.10.1
github.com/ory/analytics-go/v4 v4.0.1
github.com/ory/go-acc v0.2.1
github.com/ory/graceful v0.1.1
github.com/ory/herodot v0.7.0
github.com/ory/sdk/swagutil v0.0.0-20200402130432-b7e7c3ba67c1
github.com/ory/viper v1.7.4
github.com/ory/x v0.0.109
github.com/ory/x v0.0.111
github.com/pborman/uuid v1.2.0
github.com/pkg/errors v0.9.1
github.com/pkg/profile v1.3.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a // indirect
github.com/rs/cors v1.6.0
github.com/rubenv/sql-migrate v0.0.0-20190327083759-54bad0a9b051
github.com/segmentio/analytics-go v3.1.0+incompatible
github.com/sirupsen/logrus v1.5.0
github.com/spf13/cobra v0.0.7
github.com/spf13/viper v1.6.2 // indirect
github.com/sqs/goreturns v0.0.0-20181028201513-538ac6014518
github.com/stretchr/testify v1.4.0
github.com/stretchr/testify v1.5.1
github.com/tidwall/sjson v1.1.1 // indirect
github.com/urfave/negroni v1.0.0
github.com/yashtewari/glob-intersection v0.0.0-20180916065949-5c77d914dd0b // indirect
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e // indirect
golang.org/x/sys v0.0.0-20200331124033-c3d80250170d // indirect
golang.org/x/tools v0.0.0-20200401192744-099440627f01
)

Expand Down
Loading

0 comments on commit f824011

Please sign in to comment.