(rollout_id: str, attempt_id: str, sequence_id: int = 1)
| 92 | |
| 93 | |
| 94 | def make_span(rollout_id: str, attempt_id: str, sequence_id: int = 1) -> Span: |
| 95 | return Span( |
| 96 | rollout_id=rollout_id, |
| 97 | attempt_id=attempt_id, |
| 98 | sequence_id=sequence_id, |
| 99 | trace_id="0" * 32, |
| 100 | span_id="0" * 16, |
| 101 | parent_id=None, |
| 102 | name="test-span", |
| 103 | status=TraceStatus(status_code="OK"), |
| 104 | attributes={}, |
| 105 | events=[], |
| 106 | links=[], |
| 107 | start_time=None, |
| 108 | end_time=None, |
| 109 | context=SpanContext(trace_id="0" * 32, span_id="0" * 16, is_remote=False, trace_state={}), |
| 110 | parent=None, |
| 111 | resource=OtelResource(attributes={}, schema_url=""), |
| 112 | ) |
| 113 | |
| 114 | |
| 115 | @pytest.mark.asyncio |
no test coverage detected