Closed
Description
Currently there is no way to enrich active span with middleware information.
Rationale
Adding tracing support provides an enhanced tracing experience as http-wasm middlewares could give more context on their outcomes e.g. status code mutation, body mutation, etc.
Implementation should allow users to plug in the span extractor or just to provide an attribute setter.
Implementation details
- method:
set_active_span_attribute
- params:
i32 attribute_key
i32 attribute_key_len
i32 attribute_value
i32 attribute_value_len
Ping @anuraaga @mohit-a21
Reference proxy-wasm/spec#5
Metadata
Metadata
Assignees
Labels
No labels