Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown service opentelemetry.proto.collector.trace.v1.TraceService #32892

Closed
kaaax0815 opened this issue May 7, 2024 · 4 comments
Closed

unknown service opentelemetry.proto.collector.trace.v1.TraceService #32892

kaaax0815 opened this issue May 7, 2024 · 4 comments
Labels
bug Something isn't working needs triage New item requiring triage

Comments

@kaaax0815
Copy link

Component(s)

No response

What happened?

Description

I am trying to setup traefik, collector and jaeger

Steps to Reproduce

https://opentelemetry.io/docs/collector/installation/

Expected Result

Should see results in jaeger

Actual Result

throws error

Collector version

0.100.0

Environment information

Environment

OS: Ubuntu 22.04
Compiler: n/a

OpenTelemetry Collector configuration

receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 0.0.0.0:4317

processors:
  batch:

exporters:
  otlp:
    endpoint: jaeger:14250
    tls:
      insecure: true

extensions:
  health_check:
  pprof:
  zpages:

service:
  extensions: [health_check, pprof, zpages]
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlp]
    metrics:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlp]
    logs:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlp]

Log output

otel-collector-1  | 2024-05-07T08:51:26.946Z	error	exporterhelper/queue_sender.go:101	Exporting failed. Dropping data.	{"kind": "exporter", "data_type": "traces", "name": "otlp", "error": "not retryable error: Permanent error: rpc error: code = Unimplemented desc = unknown service opentelemetry.proto.collector.trace.v1.TraceService", "dropped_items": 16}
otel-collector-1  | go.opentelemetry.io/collector/exporter/exporterhelper.newQueueSender.func1
otel-collector-1  | 	go.opentelemetry.io/collector/[email protected]/exporterhelper/queue_sender.go:101
otel-collector-1  | go.opentelemetry.io/collector/exporter/internal/queue.(*boundedMemoryQueue[...]).Consume
otel-collector-1  | 	go.opentelemetry.io/collector/[email protected]/internal/queue/bounded_memory_queue.go:52
otel-collector-1  | go.opentelemetry.io/collector/exporter/internal/queue.(*Consumers[...]).Start.func1
otel-collector-1  | 	go.opentelemetry.io/collector/[email protected]/internal/queue/consumers.go:43

Additional context

// docker-compose.yml
services:
  jaeger:
    image: jaegertracing/all-in-one:latest
    networks:
      - telemetry
      - traefik
    labels:
      - traefik.enable=true
      - traefik.http.routers.jaeger.tls=true
      - traefik.http.routers.jaeger.tls.certresolver=letsencrypt
      - traefik.http.routers.jaeger.rule=Host(`jaeger.redacted`)
      - traefik.http.routers.jaeger.entrypoints=websecure
      - traefik.http.routers.jaeger.service=jaeger
      - traefik.http.services.jaeger.loadbalancer.server.port=16686
      - traefik.http.routers.jaeger.middlewares=services@file

  otel-collector:
    image: otel/opentelemetry-collector-contrib:latest
    volumes:
      - /docker/telemetry/data/otel-collector-config.yml:/etc/otelcol-contrib/config.yaml
    networks:
      - telemetry
    depends_on:
      - jaeger

networks:
  telemetry:
    external: true
  traefik:
    external: true
@kaaax0815 kaaax0815 added bug Something isn't working needs triage New item requiring triage labels May 7, 2024
@mx-psi
Copy link
Member

mx-psi commented May 7, 2024

@kaaax081 This error is coming from Jaeger. Could you ask the Jaeger community (see here for options https://github.com/jaegertracing/jaeger/issues/new/choose)?

@kaaax0815 kaaax0815 changed the title unknown servuce opentelemetry.proto.collector.trace.v1.TraceService unknown service opentelemetry.proto.collector.trace.v1.TraceService May 7, 2024
@yurishkuro
Copy link
Member

exporters: otlp: endpoint: jaeger:14250

Wrong port

@kaaax0815
Copy link
Author

kaaax0815 commented May 7, 2024

exporters: otlp: endpoint: jaeger:14250

Wrong port

What's the correct port

Edit: used port 4317

@livlikwav
Copy link

Adding more context to this issue for others.
I had the same issue.

The default OTLP port for the Jaeger collector is 4317, not 14250.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

4 participants