# Faster, smaller checkpoints: the File Log receiver now uses protobuf

DevFeed: [Faster, smaller checkpoints: the File Log receiver now uses protobuf](<https://devfeed.tech/articles/faster-smaller-checkpoints-the-file-log-receiver-now-uses-protobuf-105955.md>)

Original publisher: [Read original article](<https://opentelemetry.io/blog/2026/filelog-protobuf-checkpoints/>)

Author: OpenTelemetry Authors; Docs CC BY

Published: 2026-10-28T18:28:33Z

Content type: article

Language: en

Sources: [OpenTelemetry](<https://devfeed.tech/sources/blog-on-opentelemetry.md>)

Topics: [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [log management](<https://devfeed.tech/topics/log-management.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [file](<https://devfeed.tech/topics/file.md>)

Tags: [checkpoint](<https://devfeed.tech/tags/checkpoint.md>), [collector](<https://devfeed.tech/tags/collector.md>), [contrib](<https://devfeed.tech/tags/contrib.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [extension](<https://devfeed.tech/tags/extension.md>), [faster](<https://devfeed.tech/tags/faster.md>), [file](<https://devfeed.tech/tags/file.md>), [files](<https://devfeed.tech/tags/files.md>), [fingerprint](<https://devfeed.tech/tags/fingerprint.md>), [fluent](<https://devfeed.tech/tags/fluent.md>), [format](<https://devfeed.tech/tags/format.md>), [json](<https://devfeed.tech/tags/json.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [loading](<https://devfeed.tech/tags/loading.md>), [logs](<https://devfeed.tech/tags/logs.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [opentelemetry-collector](<https://devfeed.tech/tags/opentelemetry-collector.md>), [protobuf](<https://devfeed.tech/tags/protobuf.md>), [receiver](<https://devfeed.tech/tags/receiver.md>), [storage](<https://devfeed.tech/tags/storage.md>)

## AI overview

Starting with OpenTelemetry Collector Contrib v0.164.0, the File Log receiver writes checkpoints as protobuf instead of JSON. The checkpoints preserve per-file read state and are saved on every poll when a storage extension is configured. In benchmarks covering 1 to 1,000 files, protobuf encoding was 4-6.5 times faster, checkpoints were about 35% smaller, and bytes allocated per save fell by half. Protobuf caused 10-13% more allocations, but those allocations were smaller. Existing JSON checkpoints remain readable at startup and are rewritten as protobuf on the next save, preserving read offsets. The benchmarks used in-memory storage on a shared 4-vCPU cloud VM; absolute results may differ on other hardware.

## Source excerpt

If you run the File Log receiver with a storage extension, the Collector writes a checkpoint every time it polls your log files. That checkpoint is how the receiver remembers where it stopped reading, so a restart does not lose or duplicate logs. For years that checkpoint format was JSON. Starting with OpenTelemetry Collector Contrib v0.164.0, checkpoints are always written as protobuf. On our benchmarks, saving a checkpoint is almost 5 times faster, loading one is more than 5 times faster, and the checkpoint itself is about 35% smaller.