GuentherJulian / quarkus-opentelemetry-example

Apache License 2.0
0 stars 1 forks source link

unknown exporters type "jaeger" for jaege #1

Open henryosorioii opened 2 years ago

henryosorioii commented 2 years ago

Ive tried this project however I get this problem in the console. I am new to to Otel and would love to learn more.

jaeger-all-in-one_1 | {"level":"info","ts":1638774783.1722643,"caller":"channelz/logging.go:50","msg":"[core]Channel Connectivity change to IDLE","system":"grpc","grpc_log":true} otel-collector_1 | 2021-12-06T07:13:04.585Z info service/collector.go:303 Starting otelcol... {"Version": "v0.33.0-50-g0594aa1a", "NumCPU": 4} otel-collector_1 | 2021-12-06T07:13:04.585Z info service/collector.go:242 Loading configuration... otel-collector_1 | Error: cannot load configuration: unknown exporters type "jaeger" for jaeger otel-collector_1 | 2021/12/06 07:13:04 collector server run finished with error: cannot load configuration: unknown exporters type "jaeger" for jaeger prometheus_1 | ts=2021-12-06T07:13:01.251Z caller=main.go:406 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus_1 | ts=2021-12-06T07:13:01.251Z caller=main.go:444 level=info msg="Starting Prometheus" version="(version=2.31.1, branch=HEAD, revision=411021ada9ab41095923b8d2df9365b632fd40c3)" prometheus_1 | ts=2021-12-06T07:13:01.251Z caller=main.go:449 level=info build_context="(go=go1.17.3, user=root@9419c9c2d4e0, date=20211105-20:35:02)"

my configurations:

otel-collector-config.yaml

receivers: otlp: protocols: grpc: http: cors_allowed_origins:

exporters: jaeger: endpoint: jaeger-all-in-one:14250 insecure: true

processors: batch:

service: pipelines: traces: receivers: [otlp] exporters: [jaeger] processors: [batch]

docker-compose.yaml

version: "3"

services: postgresdb: image: 'docker.io/bitnami/postgresql:12.2.0' container_name: postgresdb restart: always environment: POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_USER: demo POSTGRES_PASSWORD: demo POSTGRES_DB: demo ports:

henryosorioii commented 2 years ago

Also when i was starting my docker-compose i can see this error from jaeger all in one

jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1630902,"caller":"channelz/logging.go:50","msg":"[core]Subchannel Connectivity change to CONNECTING","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.163125,"caller":"channelz/logging.go:50","msg":"[core]Subchannel picks a new address \":14250\" to connect","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.163336,"caller":"grpc/builder.go:109","msg":"Checking connection to collector"} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1634207,"caller":"grpc/builder.go:120","msg":"Agent collector connection state change","dialTarget":":14250","status":"IDLE"} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.163572,"caller":"grpclog/component.go:71","msg":"[balancer]base.baseBalancer: handle SubConn state change: 0xc00017a850, CONNECTING","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1636624,"caller":"channelz/logging.go:50","msg":"[core]Channel Connectivity change to CONNECTING","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.163798,"caller":"grpc/builder.go:120","msg":"Agent collector connection state change","dialTarget":":14250","status":"CONNECTING"} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1678138,"caller":"./main.go:243","msg":"Starting agent"} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1683323,"caller":"querysvc/query_service.go:137","msg":"Archive storage not created","reason":"archive storage not supported"} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1684778,"caller":"app/flags.go:124","msg":"Archive storage not initialized"} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.168886,"caller":"channelz/logging.go:50","msg":"[core]parsed scheme: \"\"","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.169062,"caller":"channelz/logging.go:50","msg":"[core]scheme \"\" not registered, fallback to default scheme","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1688938,"caller":"app/agent.go:69","msg":"Starting jaeger-agent HTTP server","http-port":5778} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1692429,"caller":"channelz/logging.go:50","msg":"[core]ccResolverWrapper: sending update to cc: {[{:16685 0 }] }","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1694083,"caller":"channelz/logging.go:50","msg":"[core]ClientConn switching balancer to \"pick_first\"","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1694598,"caller":"channelz/logging.go:50","msg":"[core]Channel switches to new LB policy \"pick_first\"","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1703484,"caller":"channelz/logging.go:50","msg":"[core]Subchannel Connectivity change to CONNECTING","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1703737,"caller":"channelz/logging.go:50","msg":"[core]Subchannel picks a new address \":16685\" to connect","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1705925,"caller":"grpclog/component.go:71","msg":"[core]pickfirstBalancer: UpdateSubConnState: 0xc000634700, {CONNECTING }","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1707315,"caller":"channelz/logging.go:50","msg":"[core]Channel Connectivity change to CONNECTING","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"warn","ts":1638774782.1708546,"caller":"channelz/logging.go:75","msg":"[core]grpc: addrConn.createTransport failed to connect to {:16685 localhost:16685 0 }. Err: connection error: desc = \"transport: Error while dialing dial tcp :16685: connect: connection refused\"","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.170953,"caller":"channelz/logging.go:50","msg":"[core]Subchannel Connectivity change to TRANSIENT_FAILURE","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1742358,"caller":"grpclog/component.go:71","msg":"[core]pickfirstBalancer: UpdateSubConnState: 0xc000634700, {TRANSIENT_FAILURE connection error: desc = \"transport: Error while dialing dial tcp :16685: connect: connection refused\"}","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1748455,"caller":"channelz/logging.go:50","msg":"[core]Channel Connectivity change to TRANSIENT_FAILURE","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1742597,"caller":"channelz/logging.go:50","msg":"[core]Subchannel Connectivity change to READY","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1775162,"caller":"grpclog/component.go:71","msg":"[balancer]base.baseBalancer: handle SubConn state change: 0xc00017a850, READY","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1776776,"caller":"grpclog/component.go:71","msg":"[roundrobin]roundrobinPicker: Build called with info: {map[0xc00017a850:{{:14250 0 }}]}","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1777282,"caller":"channelz/logging.go:50","msg":"[core]Channel Connectivity change to READY","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1777687,"caller":"grpc/builder.go:120","msg":"Agent collector connection state change","dialTarget":":14250","status":"READY"} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1804185,"caller":"app/static_handler.go:182","msg":"UI config path not provided, config file will not be watched"} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.180717,"caller":"app/server.go:198","msg":"Query server started"} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1807985,"caller":"healthcheck/handler.go:129","msg":"Health Check state change","status":"ready"} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.180862,"caller":"app/server.go:258","msg":"Starting HTTP server","port":16686,"addr":":16686"} jaeger-all-in-one_1 | {"level":"info","ts":1638774782.1809676,"caller":"app/server.go:277","msg":"Starting GRPC server","port":16685,"addr":":16685"} jaeger-all-in-one_1 | {"level":"info","ts":1638774783.1721106,"caller":"channelz/logging.go:50","msg":"[core]Subchannel Connectivity change to IDLE","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774783.172242,"caller":"grpclog/component.go:71","msg":"[core]pickfirstBalancer: UpdateSubConnState: 0xc000634700, {IDLE connection error: desc = \"transport: Error while dialing dial tcp :16685: connect: connection refused\"}","system":"grpc","grpc_log":true} jaeger-all-in-one_1 | {"level":"info","ts":1638774783.1722643,"caller":"channelz/logging.go:50","msg":"[core]Channel Connectivity change to IDLE","system":"grpc","grpc_log":true} otel-collector_1 | 2021-12-06T07:13:04.585Z info service/collector.go:303 Starting otelcol... {"Version": "v0.33.0-50-g0594aa1a", "NumCPU": 4} otel-collector_1 | 2021-12-06T07:13:04.585Z info service/collector.go:242 Loading configuration... otel-collector_1 | Error: cannot load configuration: unknown exporters type "jaeger" for jaeger