Skip to content

why googclient_traceparent, why not just traceparent #2011

@naseemkullah

Description

@naseemkullah

export const modernAttributeName = 'googclient_traceparent';

I noticed that the client sets + extracts trace context using googclient_traceparent instead of the standard traceparent. This makes it incompatible with vanilla OpenTelemetry context propagation, requiring manual extraction and re-injection.

  • Is there a specific reason for this customization?
  • Would it be possible to use the standard traceparent key, or at least provide an option to enable it?

This would improve interoperability with OpenTelemetry out of the box.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: pubsubIssues related to the googleapis/nodejs-pubsub API.priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions