Skip to content

droppedAttributesCount not showing in debug (verbosity: detailed) #14202

@agardnerIT

Description

@agardnerIT

Component(s)

exporter/debug

What happened?

Describe the bug
The droppedAttributesCount field isn't shown in debug output.

Steps to reproduce
I send a trace via HTTP OTLP with 1 or more span(s) that look like this:

{
                "traceId": "......",
                "spanId": ".....",
                "name": "span",
                "kind": "SPAN_KIND_CLIENT",
                "start_time_unix_nano": .....,
                "end_time_unix_nano": .....,
                "droppedAttributesCount": 23,
                "attributes": [],
                "events": [],
                "droppedEventsCount": 0,
                "status": {
                    "code": 1
                }
        }

and in the collector debug log, I see:

Span #4
    Trace ID : .....
    Parent ID      : 
    ID             : ...........
    Name           : span 5
    Kind           : Client
    Start time     : 2025-11-23 01:21:14.897167757 +0000 UTC
    End time       : 2025-11-23 01:21:14.898311 +0000 UTC
    Status code    : Ok
    Status message : 
        {"resource": {"service.instance.id": "790e00c3-7ae4-4dd1-a4da-64e85f4ec3a1", "service.name": "otelcol-contrib", "service.version": "0.132.0"}, "otelcol.component.id": "debug", "otelcol.component.kind": "exporter", "otelcol.signal": "traces"}

No indications of droppedAttributesCount (or indeed droppedEventsCount).

Looking at the trace.proto definition, this does seem like a valid field. Am I missing something?

What did you expect to see?

What did you see instead?

Collector version

0.132.0

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

receivers:
  otlp:
    protocols:
      http:
        endpoint: 127.0.0.1:4318

exporters:
  debug:
    verbosity: detailed

service:
  pipelines:
    traces:
      receivers: [otlp]
      exporters: [debug]

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 workingexporter/debugIssues related to the Debug exporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions