You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 52da33f
Browse filesBrowse the repository at this point in the historyBrowse files
test(otel): add unit tests for empty events/links flattening (#1198) (#1584)
Document the expected behaviour of flatten_events and flatten_links
when called with empty slices, and the fall-back logic inside
flatten_span_record that the PR #1196 fix relies on:
- test_flatten_events_empty_slice: flatten_events(&[]) returns []
- test_flatten_links_empty_slice: flatten_links(&[]) returns []
- test_flatten_span_record_events_only_no_links: span with events but
no links produces one record per event, each enriched with span fields
- test_flatten_span_record_links_only_no_events: span with links but
no events produces one record per link, each enriched with span fields
Co-authored-by: Nikhil Sinha <131262146+nikhilsinhaparseable@users.noreply.github.com>
0 commit comments