8f746a44bd
As an SRE team we would like to expose standard metrics and grouped by version of the application. Right now will expose only metrics related to Go but instrumentor should be used in other parts of the codebase so we can track other metrics, eg. number of tasks, boards, users etc. Similar as we do in MM. It will run in port `localhost:9092` and it is a new config `prometheus_address`. Also in the commit we introduced, `group.Add` which helps us to handle gracefully errors for goroutines. It's a good practice and there are couple of articles by Golang for this.
32 lines
1.2 KiB
Modula-2
32 lines
1.2 KiB
Modula-2
module github.com/mattermost/focalboard/server
|
|
|
|
go 1.15
|
|
|
|
require (
|
|
github.com/Masterminds/squirrel v1.5.0
|
|
github.com/golang-migrate/migrate/v4 v4.14.1
|
|
github.com/golang/mock v1.5.0
|
|
github.com/google/uuid v1.2.0
|
|
github.com/gorilla/mux v1.8.0
|
|
github.com/gorilla/websocket v1.4.2
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/lib/pq v1.10.0
|
|
github.com/magiconair/properties v1.8.5 // indirect
|
|
github.com/mattermost/mattermost-server/v5 v5.33.2
|
|
github.com/mattn/go-sqlite3 v2.0.3+incompatible
|
|
github.com/mitchellh/mapstructure v1.4.1 // indirect
|
|
github.com/oklog/run v1.1.0
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/prometheus/client_golang v1.9.0
|
|
github.com/rudderlabs/analytics-go v3.3.1+incompatible
|
|
github.com/spf13/afero v1.6.0 // indirect
|
|
github.com/spf13/cast v1.3.1 // indirect
|
|
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
|
github.com/spf13/viper v1.7.1
|
|
github.com/stretchr/testify v1.7.0
|
|
github.com/tidwall/gjson v1.7.3 // indirect
|
|
go.uber.org/zap v1.16.0
|
|
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
|
|
golang.org/x/sys v0.0.0-20210324051608-47abb6519492 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
|
|
)
|