..{"level":"info","ts":1689923838.4368327,"caller":"grpclog/component.go:71","msg":"[core]pickfirstBalancer: UpdateSubConnState: 0xc000202018, {IDLE connection error: desc = \"transport: Error while dialing dial tcp 172.17.0.1:17271: connect: connection refused\"}","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923838.4368534,"caller":"channelz/funcs.go:340","msg":"[core][Channel #1] Channel Connectivity change to IDLE","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923838.4369116,"caller":"channelz/funcs.go:340","msg":"[core][Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923838.4369738,"caller":"channelz/funcs.go:340","msg":"[core][Channel #1 SubChannel #2] Subchannel picks a new address \"172.17.0.1:17271\" to connect","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923838.4370942,"caller":"grpclog/component.go:71","msg":"[core]pickfirstBalancer: UpdateSubConnState: 0xc000202018, {CONNECTING <nil>}","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923838.437123,"caller":"channelz/funcs.go:340","msg":"[core][Channel #1] Channel Connectivity change to CONNECTING","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923838.4372501,"caller":"grpclog/component.go:71","msg":"[core]Creating new client transport to \"{\\n \\\"Addr\\\": \\\"172.17.0.1:17271\\\",\\n \\\"ServerName\\\": \\\"172.17.0.1:17271\\\",\\n \\\"Attributes\\\": null,\\n \\\"BalancerAttributes\\\": null,\\n \\\"Type\\\": 0,\\n \\\"Metadata\\\": null\\n}\": connection error: desc = \"transport: Error while dialing dial tcp 172.17.0.1:17271: connect: connection refused\"","system":"grpc","grpc_log":true}
{"level":"warn","ts":1689923838.4372795,"caller":"channelz/funcs.go:342","msg":"[core][Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {\n \"Addr\": \"172.17.0.1:17271\",\n \"ServerName\": \"172.17.0.1:17271\",\n \"Attributes\": null,\n \"BalancerAttributes\": null,\n \"Type\": 0,\n \"Metadata\": null\n}. Err: connection error: desc = \"transport: Error while dialing dial tcp 172.17.0.1:17271: connect: connection refused\"","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923838.437295,"caller":"channelz/funcs.go:340","msg":"[core][Channel #1 SubChannel #2] Subchannel Connectivity change to TRANSIENT_FAILURE","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923838.437333,"caller":"grpclog/component.go:71","msg":"[core]pickfirstBalancer: UpdateSubConnState: 0xc000202018, {TRANSIENT_FAILURE connection error: desc = \"transport: Error while dialing dial tcp 172.17.0.1:17271: connect: connection refused\"}","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923838.4373517,"caller":"channelz/funcs.go:340","msg":"[core][Channel #1] Channel Connectivity change to TRANSIENT_FAILURE","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923840.6481597,"caller":"channelz/funcs.go:340","msg":"[core][Channel #1] Channel Connectivity change to SHUTDOWN","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923840.6482139,"caller":"channelz/funcs.go:340","msg":"[core][Channel #1 SubChannel #2] Subchannel Connectivity change to SHUTDOWN","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923840.6482327,"caller":"channelz/funcs.go:340","msg":"[core][Channel #1 SubChannel #2] Subchannel deleted","system":"grpc","grpc_log":true}
{"level":"info","ts":1689923840.6482399,"caller":"channelz/funcs.go:340","msg":"[core][Channel #1] Channel deleted","system":"grpc","grpc_log":true}
{"level":"fatal","ts":1689923840.6482666,"caller":"./main.go:107","msg":"Failed to init storage factory","error":"grpc-plugin builder failed to create a store: error connecting to remote storage: context deadline exceeded","stacktrace":"main.main.func1\n\t./main.go:107\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/[email protected]/command.go:916\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/[email protected]/command.go:1044\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/[email protected]/command.go:968\nmain.main\n\t./main.go:170\nruntime.main\n\truntime/proc.go:250"}
...
# cat dev.docker-compose.yaml
# docker-compose setup for development setup.
# Use quickstart.docker-compose.yaml if you just want to try out Kelemetry.
# Use the helm chart if you want to deploy in production.
version: "2.2"
services:
# ETCD cache storage, only required if etcd cache is used
etcd:
image: quay.io/coreos/etcd:v3.2
entrypoint: [etcd]
command:
- -name=main
- -advertise-client-urls=http://etcd:2479
- -listen-client-urls=http://0.0.0.0:2479
- -initial-advertise-peer-urls=http://etcd:2380
- -listen-peer-urls=http://0.0.0.0:2380
- -initial-cluster-state=new
- -initial-cluster=main=http://etcd:2380
- -initial-cluster-token=etcd-cluster-1
- -data-dir=/var/run/etcd/default.etcd
volumes:
- etcd:/var/run/etcd/
ports:
- 2479:2379
restart: always
# Web frontend for trace view.
jaeger-query:
image: jaegertracing/jaeger-query:1.42
environment:
SPAN_STORAGE_TYPE: grpc-plugin
GRPC_STORAGE_SERVER: host.docker.internal:17272 # run on host directly
ports:
- 0.0.0.0:16686:16686
restart: always
# OTLP collector that writes to Badger
jaeger-collector:
image: jaegertracing/jaeger-collector:1.42
environment:
COLLECTOR_OTLP_ENABLED: "true"
SPAN_STORAGE_TYPE: grpc-plugin
GRPC_STORAGE_SERVER: remote-badger:17271
ports:
- 0.0.0.0:4317:4317
restart: always
# Backend badger storage
# Feel free to override environment.SPAN_STORAGE_TYPE to other storages given the proper configuration.
remote-badger:
image: jaegertracing/jaeger-remote-storage:1.42
environment:
SPAN_STORAGE_TYPE: badger
BADGER_EPHEMERAL: "false"
BADGER_DIRECTORY_KEY: /mnt/badger/key
BADGER_DIRECTORY_VALUE: /mnt/badger/data
ports:
- 127.0.0.1:17272:17271
volumes:
- badger:/mnt/badger
# Web frontend for raw trace database view.
jaeger-query-raw:
image: jaegertracing/jaeger-query:1.42
environment:
SPAN_STORAGE_TYPE: grpc-plugin
GRPC_STORAGE_SERVER: remote-badger:17271
ports:
- 0.0.0.0:26686:16686
restart: always
volumes:
etcd: {}
badger: {}