Skip to content

"proto: wrong wireType = 2 for field LinkIndex" error after updating to v0.136.0 #13893

@martincostello

Description

@martincostello

Component(s)

No response

What happened?

Describe the bug

Updating from v0.135.0 to v0.136.0 (grafana/docker-otel-lgtm#780), acceptance tests we have for use of the OTel Collector are failing to submit profiles with the following error:

Request failed: rpc error: code = Internal desc = grpc: error unmarshalling request: proto: wrong wireType = 2 for field LinkIndex

The error message appears to be similar to #13727 which was affecting .NET metrics, but in this case the failure is with profiles for an application using opentelemetry-ebpf-profiler.

Steps to reproduce

  1. Clone grafana/docker-otel-lgtm@1974826
  2. Run scripts/run-acceptance-tests.sh

What did you expect to see?

Profiles are ingested.

What did you see instead?

Profiles are rejected with the error above.

Collector version

v0.136.0

Environment information

Environment

OS: Ubuntu 24.04
Compiler(if manually compiled): N/A

OpenTelemetry Collector configuration

receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 0.0.0.0:4317
      http:
        endpoint: 0.0.0.0:4318
        cors:
          allowed_origins:
            - http://*
  prometheus/collector:
    config:
      scrape_configs:
        - job_name: "opentelemetry-collector"
          scrape_interval: 1s
          static_configs:
            - targets: ["127.0.0.1:8888"]

extensions:
  health_check:
    endpoint: 0.0.0.0:13133
    path: "/ready"

processors:
  batch:

exporters:
  otlphttp/metrics:
    endpoint: http://127.0.0.1:9090/api/v1/otlp
    tls:
      insecure: true
  otlphttp/traces:
    endpoint: http://127.0.0.1:4418
    tls:
      insecure: true
  otlphttp/logs:
    endpoint: http://127.0.0.1:3100/otlp
    tls:
      insecure: true
  otlp/profiles:
    endpoint: http://127.0.0.1:4040
    tls:
      insecure: true
  debug/metrics:
    verbosity: detailed
  debug/traces:
    verbosity: detailed
  debug/logs:
    verbosity: detailed

service:
  extensions: [health_check]
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlphttp/traces]
      #exporters: [otlphttp/traces,debug/traces]
    metrics:
      receivers: [otlp, prometheus/collector]
      processors: [batch]
      exporters: [otlphttp/metrics]
      #exporters: [otlphttp/metrics,debug/metrics]
    logs:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlphttp/logs]
      #exporters: [otlphttp/logs,debug/logs]
    profiles:
      receivers: [otlp]
      exporters: [otlp/profiles]

Log output

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions