这是indexloc提供的服务,不要输入任何密码
Skip to content

OpenTelemetry support needs to use its own context propagator #2005

@feywind

Description

@feywind

Re this comment: #1389 (comment)

The Node Pub/Sub library should be using a private context propagator of type W3CTraceContextPropagator rather than the global one (which allows other libraries to stuff values that become invalid Pub/Sub attributes).

A separate issue is filed in regards to the x-cloud-trace-header that's the proximate problem here: GoogleCloudPlatform/opentelemetry-operations-js#781

(but this library should be immune to those kinds of issues, anyway...)

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the googleapis/nodejs-pubsub API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions