Git Product home page Git Product logo

golang-example-app's People

Contributors

aristat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

golang-example-app's Issues

can not create db

❯ make createdb
createdb golang_example_development
make: createdb: No such file or directory
make: *** [createdb] Error 1

start in docker

Starting golang-example-app_health_check_service_1 ... done
Starting golang-example-app_jaeger_1               ... done
Starting golang-example-app_nats-streaming_1       ... done
Starting golang-example-app_redis_1                ... done
Starting golang-example-app_postgres_1             ... done
Starting golang-example-app_daemon-migrate_1       ... done
Starting golang-example-app_product_service_1      ... done
Starting golang-example-app_daemon_1               ... done
Attaching to golang-example-app_redis_1, golang-example-app_health_check_service_1, golang-example-app_postgres_1, golang-example-app_nats-streaming_1, golang-example-app_daemon-migrate_1, golang-example-app_product_service_1, golang-example-app_daemon_1, golang-example-app_jaeger_1
daemon_1                | {
daemon_1                |   "auth": {
daemon_1                |     "relativepath": "keys/local",
daemon_1                |     "services": {
daemon_1                |       "test-service": 1
daemon_1                |     }
daemon_1                |   },
daemon_1                |   "config": "./configs/docker_development.yaml",
daemon_1                |   "db": {
daemon_1                |     "connmaxlifetime": "15m",
daemon_1                |     "loglevel": "debug",
daemon_1                |     "maxidleconns": 3,
daemon_1                |     "maxopenconns": 5,
daemon_1                |     "url": "postgres://postgres@postgres:5432/golang_example_development?sslmode=disable"
daemon_1                |   },
daemon_1                |   "debug": true,
daemon_1                |   "graphql": {
daemon_1                |     "introspection": true
daemon_1                |   },
daemon_1                |   "graphql_resolver": {
daemon_1                |     "producttimeout": 5
daemon_1                |   },
daemon_1                |   "grpc": {
daemon_1                |     "clientparameters": {
daemon_1                |       "permitwithoutstream": false,
daemon_1                |       "time": "5m",
daemon_1                |       "timeout": "10s"
daemon_1                |     },
daemon_1                |     "services": {
daemon_1                |       "products": {
daemon_1                |         "idletimeout": "1s",
daemon_1                |         "initconn": 1,
daemon_1                |         "maxconn": 10,
daemon_1                |         "maxlifeduration": "5m",
daemon_1                |         "target": "product_service:50051"
daemon_1                |       }
daemon_1                |     }
daemon_1                |   },
daemon_1                |   "logger": {
daemon_1                |     "debug": true
daemon_1                |   },
daemon_1                |   "products": {
daemon_1                |     "natsurl": "nats-streaming:4222",
daemon_1                |     "subject": "products"
daemon_1                |   },
daemon_1                |   "services": {
daemon_1                |     "healthcheckservice": {
daemon_1                |       "port": 50052,
daemon_1                |       "randomdisable": true
daemon_1                |     },
daemon_1                |     "productservice": {
daemon_1                |       "healthcheckurl": "health_check_service:50052",
daemon_1                |       "natsurl": "nats-streaming:4222",
daemon_1                |       "port": 50051,
daemon_1                |       "subject": "products"
daemon_1                |     }
daemon_1                |   },
daemon_1                |   "session": {
daemon_1                |     "redisdb": 10,
daemon_1                |     "redisurl": "redis:6379"
daemon_1                |   },
daemon_1                |   "tracing": {
daemon_1                |     "jaeger": {
daemon_1                |       "disabled": false,
daemon_1                |       "reporter": {
daemon_1                |         "localagenthostport": "jaeger:6831"
daemon_1                |       },
daemon_1                |       "servicename": "golang-example-app-server"
daemon_1                |     }
daemon_1                |   }
daemon_1                | }
daemon-migrate_1        | Failed: dial tcp: lookup postgres on 127.0.0.11:53: no such host
jaeger_1                | 2021/05/31 14:56:20 maxprocs: Leaving GOMAXPROCS=12: CPU quota undefined
health_check_service_1  | {
health_check_service_1  |   "auth": {
health_check_service_1  |     "relativepath": "keys/local",
health_check_service_1  |     "services": {
health_check_service_1  |       "test-service": 1
health_check_service_1  |     }
health_check_service_1  |   },
health_check_service_1  |   "config": "./configs/docker_development.yaml",
health_check_service_1  |   "db": {
health_check_service_1  |     "connmaxlifetime": "15m",
health_check_service_1  |     "loglevel": "debug",
health_check_service_1  |     "maxidleconns": 3,
health_check_service_1  |     "maxopenconns": 5,
health_check_service_1  |     "url": "postgres://postgres@postgres:5432/golang_example_development?sslmode=disable"
health_check_service_1  |   },
health_check_service_1  |   "debug": true,
health_check_service_1  |   "graphql": {
health_check_service_1  |     "introspection": true
health_check_service_1  |   },
health_check_service_1  |   "graphql_resolver": {
health_check_service_1  |     "producttimeout": 5
health_check_service_1  |   },
health_check_service_1  |   "grpc": {
health_check_service_1  |     "clientparameters": {
health_check_service_1  |       "permitwithoutstream": false,
health_check_service_1  |       "time": "5m",
health_check_service_1  |       "timeout": "10s"
health_check_service_1  |     },
health_check_service_1  |     "services": {
health_check_service_1  |       "products": {
health_check_service_1  |         "idletimeout": "1s",
health_check_service_1  |         "initconn": 1,
health_check_service_1  |         "maxconn": 10,
health_check_service_1  |         "maxlifeduration": "5m",
health_check_service_1  |         "target": "product_service:50051"
health_check_service_1  |       }
health_check_service_1  |     }
health_check_service_1  |   },
health_check_service_1  |   "logger": {
health_check_service_1  |     "debug": true
health_check_service_1  |   },
health_check_service_1  |   "products": {
health_check_service_1  |     "natsurl": "nats-streaming:4222",
health_check_service_1  |     "subject": "products"
health_check_service_1  |   },
health_check_service_1  |   "services": {
health_check_service_1  |     "healthcheckservice": {
health_check_service_1  |       "port": 50052,
health_check_service_1  |       "randomdisable": true
health_check_service_1  |     },
health_check_service_1  |     "productservice": {
health_check_service_1  |       "healthcheckurl": "health_check_service:50052",
health_check_service_1  |       "natsurl": "nats-streaming:4222",
health_check_service_1  |       "port": 50051,
health_check_service_1  |       "subject": "products"
health_check_service_1  |     }
health_check_service_1  |   },
health_check_service_1  |   "session": {
health_check_service_1  |     "redisdb": 10,
health_check_service_1  |     "redisurl": "redis:6379"
health_check_service_1  |   },
health_check_service_1  |   "tracing": {
health_check_service_1  |     "jaeger": {
health_check_service_1  |       "disabled": false,
health_check_service_1  |       "reporter": {
health_check_service_1  |         "localagenthostport": "jaeger:6831"
health_check_service_1  |       },
health_check_service_1  |       "servicename": "golang-example-app-server"
health_check_service_1  |     }
health_check_service_1  |   }
health_check_service_1  | }
daemon_1                | 2021-05-31T14:56:19.477Z	DEBUG	maxprocs/maxprocs.go:47	maxprocs: Leaving GOMAXPROCS=12: CPU quota undefined	{"level": "debug", "service": "cmd.root"}
health_check_service_1  | 2021-05-31T14:56:05.513Z	DEBUG	maxprocs/maxprocs.go:47	maxprocs: Leaving GOMAXPROCS=12: CPU quota undefined	{"level": "debug", "service": "cmd.root"}
daemon_1                | 2021-05-31T14:56:19.483Z	ERROR	[email protected]/command.go:844	dial tcp: lookup postgres on 127.0.0.11:53: no such host	{"level": "error"}
daemon_1                | github.com/aristat/golang-example-app/app/logger.(*Zap).Log
daemon_1                | 	/build/app/logger/zap.go:107
daemon_1                | github.com/aristat/golang-example-app/app/logger.(*Zap).Error
daemon_1                | 	/build/app/logger/zap.go:41
daemon_1                | github.com/aristat/golang-example-app/cmd/daemon.glob..func1
daemon_1                | 	/build/cmd/daemon/daemon.go:50
daemon_1                | github.com/spf13/cobra.(*Command).execute
daemon_1                | 	/go/pkg/mod/github.com/spf13/[email protected]/command.go:844
daemon_1                | github.com/spf13/cobra.(*Command).ExecuteC
daemon_1                | 	/go/pkg/mod/github.com/spf13/[email protected]/command.go:945
daemon_1                | github.com/spf13/cobra.(*Command).Execute
daemon_1                | 	/go/pkg/mod/github.com/spf13/[email protected]/command.go:885
daemon_1                | github.com/aristat/golang-example-app/cmd.Execute
daemon_1                | 	/build/cmd/root.go:116
daemon_1                | main.main
daemon_1                | 	/build/main.go:6
daemon_1                | runtime.main
daemon_1                | 	/usr/local/go/src/runtime/proc.go:225
nats-streaming_1        | [1] 2021/05/31 14:56:10.362113 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.21.2
nats-streaming_1        | [1] 2021/05/31 14:56:10.362167 [INF] STREAM: ServerID: VCJSuAIDgKr5CNY0Z7QvUj
nats-streaming_1        | [1] 2021/05/31 14:56:10.362170 [INF] STREAM: Go version: go1.16.3
nats-streaming_1        | [1] 2021/05/31 14:56:10.362172 [INF] STREAM: Git commit: [379bb2d]
product_service_1       | {
product_service_1       |   "auth": {
product_service_1       |     "relativepath": "keys/local",
product_service_1       |     "services": {
product_service_1       |       "test-service": 1
product_service_1       |     }
product_service_1       |   },
product_service_1       |   "config": "./configs/docker_development.yaml",
product_service_1       |   "db": {
product_service_1       |     "connmaxlifetime": "15m",
product_service_1       |     "loglevel": "debug",
product_service_1       |     "maxidleconns": 3,
product_service_1       |     "maxopenconns": 5,
product_service_1       |     "url": "postgres://postgres@postgres:5432/golang_example_development?sslmode=disable"
product_service_1       |   },
product_service_1       |   "debug": true,
product_service_1       |   "graphql": {
product_service_1       |     "introspection": true
product_service_1       |   },
product_service_1       |   "graphql_resolver": {
product_service_1       |     "producttimeout": 5
product_service_1       |   },
product_service_1       |   "grpc": {
product_service_1       |     "clientparameters": {
product_service_1       |       "permitwithoutstream": false,
product_service_1       |       "time": "5m",
product_service_1       |       "timeout": "10s"
product_service_1       |     },
product_service_1       |     "services": {
product_service_1       |       "products": {
product_service_1       |         "idletimeout": "1s",
product_service_1       |         "initconn": 1,
product_service_1       |         "maxconn": 10,
product_service_1       |         "maxlifeduration": "5m",
product_service_1       |         "target": "product_service:50051"
product_service_1       |       }
product_service_1       |     }
product_service_1       |   },
product_service_1       |   "logger": {
product_service_1       |     "debug": true
product_service_1       |   },
product_service_1       |   "products": {
product_service_1       |     "natsurl": "nats-streaming:4222",
product_service_1       |     "subject": "products"
product_service_1       |   },
product_service_1       |   "services": {
product_service_1       |     "healthcheckservice": {
product_service_1       |       "port": 50052,
product_service_1       |       "randomdisable": true
product_service_1       |     },
product_service_1       |     "productservice": {
product_service_1       |       "healthcheckurl": "health_check_service:50052",
product_service_1       |       "natsurl": "nats-streaming:4222",
product_service_1       |       "port": 50051,
product_service_1       |       "subject": "products"
product_service_1       |     }
product_service_1       |   },
product_service_1       |   "session": {
product_service_1       |     "redisdb": 10,
product_service_1       |     "redisurl": "redis:6379"
product_service_1       |   },
product_service_1       |   "tracing": {
product_service_1       |     "jaeger": {
product_service_1       |       "disabled": false,
product_service_1       |       "reporter": {
product_service_1       |         "localagenthostport": "jaeger:6831"
product_service_1       |       },
product_service_1       |       "servicename": "golang-example-app-server"
product_service_1       |     }
product_service_1       |   }
product_service_1       | }
postgres_1              | Error: Database is uninitialized and superuser password is not specified.
postgres_1              |        You must specify POSTGRES_PASSWORD to a non-empty value for the
postgres_1              |        superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
postgres_1              |
postgres_1              |        You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
postgres_1              |        connections without a password. This is *not* recommended.
postgres_1              |
postgres_1              |        See PostgreSQL documentation about "trust":
postgres_1              |        https://www.postgresql.org/docs/current/auth-trust.html
redis_1                 | 1:C 31 May 2021 14:56:02.329 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1                 | 1:C 31 May 2021 14:56:02.329 # Redis version=6.2.3, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1                 | 1:C 31 May 2021 14:56:02.329 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
nats-streaming_1        | [1] 2021/05/31 14:56:10.362830 [INF] Starting nats-server version 2.1.9
nats-streaming_1        | [1] 2021/05/31 14:56:10.362851 [INF] Git commit [7c76626]
product_service_1       | 2021-05-31T14:56:15.339Z	DEBUG	maxprocs/maxprocs.go:47	maxprocs: Leaving GOMAXPROCS=12: CPU quota undefined	{"level": "debug", "service": "cmd.root"}
jaeger_1                | {"level":"info","ts":1622472980.5210333,"caller":"flags/service.go:117","msg":"Mounting metrics handler on admin server","route":"/metrics"}
jaeger_1                | {"level":"info","ts":1622472980.5210931,"caller":"flags/service.go:123","msg":"Mounting expvar handler on admin server","route":"/debug/vars"}
nats-streaming_1        | [1] 2021/05/31 14:56:10.363018 [INF] Starting http monitor on 0.0.0.0:8222
golang-example-app_daemon-migrate_1 exited with code 1
redis_1                 | 1:M 31 May 2021 14:56:02.330 * monotonic clock: POSIX clock_gettime
product_service_1       | 2021-05-31T14:56:15.340Z	INFO	[email protected]/command.go:844	Start product service 50051	{"level": "info"}
nats-streaming_1        | [1] 2021/05/31 14:56:10.363096 [INF] Listening for client connections on 0.0.0.0:4222
nats-streaming_1        | [1] 2021/05/31 14:56:10.363100 [INF] Server id is NCCQ6MQ57THLQHPDNOOSW3EMYHJLLSCJ3QEABCC63GTE27FWCJ5QPDP3
nats-streaming_1        | [1] 2021/05/31 14:56:10.363101 [INF] Server is ready
jaeger_1                | {"level":"info","ts":1622472980.5213337,"caller":"flags/admin.go:105","msg":"Mounting health check on admin server","route":"/"}
jaeger_1                | {"level":"info","ts":1622472980.5214114,"caller":"flags/admin.go:111","msg":"Starting admin HTTP server","http-addr":":14269"}
jaeger_1                | {"level":"info","ts":1622472980.5214434,"caller":"flags/admin.go:97","msg":"Admin server started","http.host-port":"[::]:14269","health-status":"unavailable"}
redis_1                 | 1:M 31 May 2021 14:56:02.330 * Running mode=standalone, port=6379.
redis_1                 | 1:M 31 May 2021 14:56:02.330 # Server initialized
jaeger_1                | {"level":"info","ts":1622472980.5226772,"caller":"memory/factory.go:61","msg":"Memory storage initialized","configuration":{"MaxTraces":0}}
redis_1                 | 1:M 31 May 2021 14:56:02.330 * Loading RDB produced by version 6.2.3
redis_1                 | 1:M 31 May 2021 14:56:02.330 * RDB age 76 seconds
redis_1                 | 1:M 31 May 2021 14:56:02.330 * RDB memory usage when created 0.77 Mb
redis_1                 | 1:M 31 May 2021 14:56:02.330 * DB loaded from disk: 0.000 seconds
redis_1                 | 1:M 31 May 2021 14:56:02.330 * Ready to accept connections
nats-streaming_1        | [1] 2021/05/31 14:56:10.390160 [INF] STREAM: Recovering the state...
nats-streaming_1        | [1] 2021/05/31 14:56:10.390181 [INF] STREAM: No recovered state
golang-example-app_postgres_1 exited with code 1
nats-streaming_1        | [1] 2021/05/31 14:56:10.641198 [INF] STREAM: Message store is MEMORY
nats-streaming_1        | [1] 2021/05/31 14:56:10.641238 [INF] STREAM: ---------- Store Limits ----------
nats-streaming_1        | [1] 2021/05/31 14:56:10.641241 [INF] STREAM: Channels:                  100 *
nats-streaming_1        | [1] 2021/05/31 14:56:10.641242 [INF] STREAM: --------- Channels Limits --------
nats-streaming_1        | [1] 2021/05/31 14:56:10.641243 [INF] STREAM:   Subscriptions:          1000 *
nats-streaming_1        | [1] 2021/05/31 14:56:10.641243 [INF] STREAM:   Messages     :       1000000 *
nats-streaming_1        | [1] 2021/05/31 14:56:10.641244 [INF] STREAM:   Bytes        :     976.56 MB *
nats-streaming_1        | [1] 2021/05/31 14:56:10.641245 [INF] STREAM:   Age          :     unlimited *
nats-streaming_1        | [1] 2021/05/31 14:56:10.641246 [INF] STREAM:   Inactivity   :     unlimited *
nats-streaming_1        | [1] 2021/05/31 14:56:10.641246 [INF] STREAM: ----------------------------------
nats-streaming_1        | [1] 2021/05/31 14:56:10.641247 [INF] STREAM: Streaming Server is ready
nats-streaming_1        | [1] 2021/05/31 14:56:15.342959 [INF] STREAM: Channel "products" has been created
jaeger_1                | {"level":"info","ts":1622472980.531251,"caller":"server/grpc.go:76","msg":"Starting jaeger-collector gRPC server","grpc.host-port":":14250"}
jaeger_1                | {"level":"info","ts":1622472980.5312903,"caller":"server/http.go:47","msg":"Starting jaeger-collector HTTP server","http host-port":":14268"}
jaeger_1                | {"level":"info","ts":1622472980.5323,"caller":"server/zipkin.go:48","msg":"Not listening for Zipkin HTTP traffic, port not configured"}
jaeger_1                | {"level":"info","ts":1622472980.5324807,"caller":"grpc/builder.go:70","msg":"Agent requested insecure grpc connection to collector(s)"}
jaeger_1                | {"level":"info","ts":1622472980.5327783,"caller":"[email protected]/clientconn.go:243","msg":"parsed scheme: \"\"","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5331671,"caller":"[email protected]/clientconn.go:249","msg":"scheme \"\" not registered, fallback to default scheme","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5333214,"caller":"[email protected]/resolver_conn_wrapper.go:143","msg":"ccResolverWrapper: sending update to cc: {[{:14250  <nil> 0 <nil>}] <nil> <nil>}","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.533369,"caller":"[email protected]/clientconn.go:667","msg":"ClientConn switching balancer to \"round_robin\"","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5333786,"caller":"[email protected]/clientconn.go:682","msg":"Channel switches to new LB policy \"round_robin\"","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5335274,"caller":"[email protected]/balancer_conn_wrappers.go:127","msg":"base.baseBalancer: got new ClientConn state: {{[{:14250  <nil> 0 <nil>}] <nil> <nil>} <nil>}","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5335855,"caller":"[email protected]/clientconn.go:1056","msg":"Subchannel Connectivity change to CONNECTING","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5337536,"caller":"[email protected]/balancer_conn_wrappers.go:78","msg":"base.baseBalancer: handle SubConn state change: 0xc000162160, CONNECTING","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5338018,"caller":"[email protected]/clientconn.go:1193","msg":"Subchannel picks a new address \":14250\" to connect","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5340083,"caller":"grpc/builder.go:108","msg":"Checking connection to collector"}
jaeger_1                | {"level":"info","ts":1622472980.533824,"caller":"[email protected]/clientconn.go:417","msg":"Channel Connectivity change to CONNECTING","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5341442,"caller":"grpc/builder.go:119","msg":"Agent collector connection state change","dialTarget":":14250","status":"CONNECTING"}
jaeger_1                | {"level":"info","ts":1622472980.5345051,"caller":"[email protected]/clientconn.go:1056","msg":"Subchannel Connectivity change to READY","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.534571,"caller":"[email protected]/balancer_conn_wrappers.go:78","msg":"base.baseBalancer: handle SubConn state change: 0xc000162160, READY","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5346706,"caller":"base/balancer.go:200","msg":"roundrobinPicker: newPicker called with info: {map[0xc000162160:{{:14250  <nil> 0 <nil>}}]}","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5347114,"caller":"[email protected]/clientconn.go:417","msg":"Channel Connectivity change to READY","system":"grpc","grpc_log":true}
jaeger_1                | {"level":"info","ts":1622472980.5347426,"caller":"grpc/builder.go:119","msg":"Agent collector connection state change","dialTarget":":14250","status":"READY"}
jaeger_1                | {"level":"info","ts":1622472980.5349944,"caller":"command-line-arguments/main.go:218","msg":"Starting agent"}
jaeger_1                | {"level":"info","ts":1622472980.5351257,"caller":"querysvc/query_service.go:137","msg":"Archive storage not created","reason":"archive storage not supported"}
jaeger_1                | {"level":"info","ts":1622472980.535169,"caller":"app/flags.go:128","msg":"Archive storage not initialized"}
jaeger_1                | {"level":"info","ts":1622472980.5352738,"caller":"app/agent.go:69","msg":"Starting jaeger-agent HTTP server","http-port":5778}
jaeger_1                | {"level":"info","ts":1622472980.536004,"caller":"app/static_handler.go:181","msg":"UI config path not provided, config file will not be watched"}
jaeger_1                | {"level":"info","ts":1622472980.5361347,"caller":"app/server.go:170","msg":"Query server started"}
jaeger_1                | {"level":"info","ts":1622472980.5362012,"caller":"healthcheck/handler.go:129","msg":"Health Check state change","status":"ready"}
jaeger_1                | {"level":"info","ts":1622472980.536256,"caller":"app/server.go:249","msg":"Starting GRPC server","port":16685,"addr":":16685"}
jaeger_1                | {"level":"info","ts":1622472980.5362277,"caller":"app/server.go:230","msg":"Starting HTTP server","port":16686,"addr":":16686"}
golang-example-app_daemon_1 exited with code 0

exec docker compose error

docker compose up -d
[+] Building 18.2s (18/18) FINISHED                                                                                                                                                                                                    
 => [nats-streaming internal] load build definition from Dockerfile                                                                                                                                                               0.0s
 => => transferring dockerfile: 56B                                                                                                                                                                                               0.0s
 => [health_check_service internal] load build definition from Dockerfile                                                                                                                                                         0.0s
 => => transferring dockerfile: 72B                                                                                                                                                                                               0.0s
 => [daemon internal] load build definition from Dockerfile                                                                                                                                                                       0.0s
 => => transferring dockerfile: 72B                                                                                                                                                                                               0.0s
 => [product_service internal] load build definition from Dockerfile                                                                                                                                                              0.0s
 => => transferring dockerfile: 72B                                                                                                                                                                                               0.0s
 => [jaeger internal] load build definition from Dockerfile                                                                                                                                                                       0.0s
 => => transferring dockerfile: 73B                                                                                                                                                                                               0.0s
 => [postgres internal] load build definition from Dockerfile                                                                                                                                                                     0.0s
 => => transferring dockerfile: 54B                                                                                                                                                                                               0.0s
 => [daemon-migrate internal] load build definition from Dockerfile                                                                                                                                                               0.0s
 => => transferring dockerfile: 72B                                                                                                                                                                                               0.0s
 => [nats-streaming internal] load .dockerignore                                                                                                                                                                                  0.0s
 => => transferring context: 2B                                                                                                                                                                                                   0.0s
 => [health_check_service internal] load .dockerignore                                                                                                                                                                            0.0s
 => => transferring context: 2B                                                                                                                                                                                                   0.0s
 => [daemon internal] load .dockerignore                                                                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                                                                                   0.0s
 => [product_service internal] load .dockerignore                                                                                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                                                                                                   0.0s
 => [jaeger internal] load .dockerignore                                                                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                                                                                   0.0s
 => [postgres internal] load .dockerignore                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                                   0.0s
 => [daemon-migrate internal] load .dockerignore                                                                                                                                                                                  0.0s
 => => transferring context: 2B                                                                                                                                                                                                   0.0s
 => CANCELED [nats-streaming internal] load metadata for docker.io/library/nats-streaming:latest                                                                                                                                 17.8s
 => ERROR [daemon-migrate internal] load metadata for docker.io/library/golang-example-app:development                                                                                                                           17.7s
 => CANCELED [jaeger internal] load metadata for docker.io/jaegertracing/all-in-one:latest                                                                                                                                       17.7s
 => CANCELED [postgres internal] load metadata for docker.io/library/postgres:9.6                                                                                                                                                17.7s
------
 > [daemon-migrate internal] load metadata for docker.io/library/golang-example-app:development:
------
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

codahale/hdrhistogram repo url has been transferred under the github HdrHstogram umbrella

Problem

The codahale/hdrhistogram repo has been transferred under the github HdrHstogram umbrella with the help from the original author in Sept 2020 (new repo url https://github.com/HdrHistogram/hdrhistogram-go). The main reasons are to group all implementations under the same roof and to provide more active contribution from the community as the original repository was archived several years ago.

The dependency URL should be modified to point to the new repository URL. The tag "v0.9.0" was applied at the point of transfer and will reflect the exact code that was frozen in the original repository.

If you are using Go modules, you can update to the exact point of transfer using the @v0.9.0 tag in your go get command.

go mod edit -replace github.com/codahale/hdrhistogram=github.com/HdrHistogram/[email protected]

Performance Improvements

From the point of transfer, up until now (mon 16 aug 2021), we've released 3 versions that aim support the standard HdrHistogram serialization/exposition formats, and deeply improve READ performance.
We recommend to update to the latest version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.