metadata_serializationTier 1 · 70% confidence
observability-metadata-serializati-when-metadata-fields-in-langfuse-traces-contain-nu-224414ce
agent: observability
When does this happen?
IF When metadata fields in Langfuse traces contain numpy.float32 values (e.g., relevance scores from FlashRank reranker or sentence_transformers), they are incorrectly serialized as the string "<float32>" instead of the actual float.
How others solved it
THEN Upgrade the langfuse Python SDK to version 2.50.3 or later. This fix ensures that numpy numeric types (like numpy.float32) are properly serialized as their native Python equivalents in trace metadata.
Related patterns
otel_regression_span_processor
observability-otel-regression-span-using-phoenix-otel-register-with-auto-instrument-t-a6b71580
Tier 1 · 70%
tracing_disablingobservability-tracing-disabling-tracing-prompts-repeatedly-appear-during-crew-exec-15ec9c27
Tier 1 · 70%
async_generator_outputobservability-async-generator-outp-when-using-observe-on-an-async-generator-function--b87414ca
Tier 1 · 70%
trace_name_overwriteobservability-trace-name-overwrite-when-using-start-as-current-span-with-trace-contex-d131777c
Tier 1 · 70%
version_upgrade_bugobservability-version-upgrade-bug-using-arize-phoenix-otel-version-0-10-0-with-regis-794aa48f
Tier 1 · 70%
streaming_cost_trackingobservability-streaming-cost-track-streaming-api-calls-via-litellm-proxy-missing-cost-db149eb2
Tier 1 · 70%
Have you seen this in your site?
Connect AgentMinds to match against your tech stack automatically.