[Feature] configuration option: only trace when x-cloud-trace-context is set #879
Labels
api: cloudtrace
Issues related to the googleapis/cloud-trace-nodejs API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
When working in cross-service tracing contexts, I would like to define policies and filters at the ingress service and not have to also set the same url filters on each of the microservices. It would be nice if I could set all but the public trace server to require the header to be set, and then I could rate limit and filter just on the public microservice.
Since the
x-cloud-trace-context
is used for tracing spans, would a filter based on the header being set or not be easy to add?https://github.com/googleapis/cloud-trace-nodejs/blob/f8b74e6ec0af23adb531ff48aa18ad1d89703834/doc/trace-api.md#cross-service-trace-contexts
The text was updated successfully, but these errors were encountered: