Preface

Querying data in Logfire is about to get dramatically faster. Consider >1,000 times faster in some cases. Queries that previously timed out after 30 seconds now complete in under a second.

"Seeing much faster <customer_attribute> query times! Feels basically instant now", says an early access customer

This technical blog post details how we achieved this through dynamic shredding, an optimization for querying semi-structured attributes data. We'll begin to roll out this feature to all customers in February 2026.

Logfire Data Model

OpenTelemetry data (the data that Logfire ingests) is semi-structured data. It contains a mix of:

  • Fixed schema fields (timestamp, span name, etc.)
  • Semi-structured attributes (HTTP status codes, user IDs, regions, etc.)