Skip to content

Tracing: Allow filters to add/overwrite span information #890

@rshriram

Description

@rshriram

In certain deployments, it is not possible to know the service-cluster apriori (e.g., kubernetes pods). In such cases, the service to which the pod belongs do, has to be resolved dynamically, and the span data generated by the tracing subsystem needs to be updated with this info.

High level Implementation proposal:
We need the StreamFilterCallback to expose a span interface, that would allow the filters to obtain a (writable) reference to the active span object in the active stream and be able to modify them, before Envoy finalizes the span.

cc @goaway @mattklein123

Metadata

Metadata

Assignees

Labels

enhancementFeature requests. Not bugs or questions.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions