Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagation of context by setting the 'traceparent' property in headers of messages #1068

Closed
thespacedeck opened this issue Jul 22, 2020 · 1 comment
Assignees
Labels
api: pubsub Issues related to the googleapis/nodejs-pubsub API.

Comments

@thespacedeck
Copy link

Good day,

It would be great if the context could be propagated from one process to another where pubsub plays the middleman.

We're using OpenTelemetry and setting the 'traceparent' property in the header to allow the tracing between app services and cloud tasks.

Problem:
For those requests that uses larger POST bodies we use pubsub to kick off other services, but the pusub interface does not allow the setting of http headers and thus do not propagate the context in those instances.

Let me know if this is a request that only pertains to me or seems invalid.

Much appreciated.

Whoweez

@product-auto-label product-auto-label bot added the api: pubsub Issues related to the googleapis/nodejs-pubsub API. label Jul 22, 2020
@thespacedeck
Copy link
Author

Ha!!! I see someone beat me to it :)
#1061

feywind pushed a commit to feywind/nodejs-pubsub that referenced this issue Nov 12, 2024
* feat: send retry attempt header to ease debugging

* style

* lint
feywind pushed a commit to feywind/nodejs-pubsub that referenced this issue Nov 12, 2024
🤖 I have created a release *beep* *boop*
---


## [3.11.0](googleapis/nodejs-bigtable@v3.10.0...v3.11.0) (2022-04-13)


### Features

* send retry attempt header to ease debugging ([googleapis#1068](googleapis/nodejs-bigtable#1068)) ([37f9b3c](googleapis/nodejs-bigtable@37f9b3c))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the googleapis/nodejs-pubsub API.
Projects
None yet
Development

No branches or pull requests

1 participant