We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee990f9 commit c2aa0c4Copy full SHA for c2aa0c4
content/en/docs/collector/transforming-telemetry.md
@@ -180,9 +180,7 @@ the span status to `Ok` when the `http.request.status_code` attribute is 400:
180
transform:
181
error_mode: ignore
182
trace_statements:
183
- - context: span
184
- statements:
185
- - set(status.code, STATUS_CODE_OK) where attributes["http.request.status_code"] == 400
+ - set(span.status.code, STATUS_CODE_OK) where span.attributes["http.request.status_code"] == 400
186
```
187
188
<!-- prettier-ignore-end -->
0 commit comments