(
span_kind: str,
)
| 359 | |
| 360 | |
| 361 | def parse_span_kind_to_enum( |
| 362 | span_kind: str, |
| 363 | ): |
| 364 | try: |
| 365 | return OTelSpanKind(span_kind) |
| 366 | |
| 367 | except ValueError as e: |
| 368 | log.error(f"Unsupported span_kind value: {span_kind}") |
| 369 | |
| 370 | raise FilteringException( |
| 371 | f"Unsupported span_kind value: {span_kind}", |
| 372 | ) from e |
| 373 | |
| 374 | |
| 375 | def parse_status_code_to_enum( |
nothing calls this directly
no test coverage detected