Skip to content

OBI Exported Metrics miss attributes: otelcol error log unable to get service name from resource metric with attributes: map[] #1578

@dingfeng2

Description

@dingfeng2

I deploy using docker-compose, and configurate environments in OBI container

environment:
      OTEL_EBPF_SERVICE_NAMESPACE: integration-test
      OTEL_SERVICE_NAME: otel-ebpf-instrument-test
      OTEL_RESOURCE_ATTRIBUTES: 'service.name=otel-ebpf-instrument-test,service.namespace=integration-test'
      OTEL_EBPF_METRICS_FEATURES: application

In Opentelemetry Collector:

2026-03-18T06:37:12.032Z        error   loadbalancingexporter@v0.147.0/metrics_exporter.go:112  failed to export metric {"resource": {"service.instance.id": "8b43ab1a-1f07-4c9a-a1b9-5d2c77745f1a", "service.name": "otelcol_lb_test", "service.version": "0.147.0"}, "otelcol.component.id": "loadbalancing", "otelcol.component.kind": "exporter", "otelcol.signal": "metrics", "error": "unable to get service name from resource metric with attributes: map[]"}

It seems to be missing the "attributes" section, docker image is

ghcr.io/open-telemetry/opentelemetry-ebpf-instrumentation/ebpf-instrument@sha256:7a8a40ac3640423af2f114e34ab81271d893bb8b39378022a88136e4608fee99

Please give me some guidance, tks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions