gloo icon indicating copy to clipboard operation
gloo copied to clipboard

Opentelemetry span name

Open ashishb-solo opened this issue 4 months ago • 1 comments

Description

Implement control plane API for modifying span names for tracing purposes.

Context: https://github.com/solo-io/envoy-gloo/pull/368

API changes

Add span_transformer.name to the transformation filter.

Code changes

Ensure that the span_transformer field is copied from the Gloo API to the Envoy API

CI changes

None

Docs changes

TODO: we should update https://docs.solo.io/gloo-edge/latest/guides/traffic_management/request_processing/transformations/ to explain that transforms can also modify traces.

Context

This is an incremental update to implementing a control plane API for updating the span name for opentelemetry traces.

Interesting decisions

Testing steps

Notes for reviewers

Checklist:

  • [X] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [X] I have added tests that prove my fix is effective or that my feature works

ashishb-solo avatar Sep 27 '24 14:09 ashishb-solo