Skip to content

fix(observability): drop ingester/compactor from Tempo config#3067

Merged
houko merged 1 commit into
mainfrom
fix/tempo-config-schema
Apr 24, 2026
Merged

fix(observability): drop ingester/compactor from Tempo config#3067
houko merged 1 commit into
mainfrom
fix/tempo-config-schema

Conversation

@houko

@houko houko commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Tiny fix caught when running the stack from #3064 end-to-end. The Tempo
latest image refuses to start with:

failed parsing config: /etc/tempo/tempo.yaml: yaml: unmarshal errors:
  line 18: field ingester not found in type app.Config
  line 21: field compactor not found in type app.Config

librefang-tempo restart-loops; :3200 never comes up; Grafana's Tempo
datasource shows "No data" because there's no Tempo to query.

The ingester: / compactor: sections I added were nice-to-haves
(block flush cadence + 24h retention). Their built-in defaults are fine
for a local dev stack. A comment points at the Tempo docs for anyone
who wants to re-add them with the correct schema for their image
version.

Test plan

  • docker restart librefang-tempo with the new config — container
    stays Up, curl http://localhost:3200/api/search ... returns
    valid JSON instead of connection-refused.
  • End-to-end: agent message → collector → Tempo → Grafana Explore →
    trace visible (confirmed locally after fix(telemetry): move env_filter to fmt layer so OTel sees INFO spans #3065 also merges).

The Tempo image's config parser rejects these sections with:

    failed parsing config: yaml: unmarshal errors:
      line 18: field ingester not found in type app.Config
      line 21: field compactor not found in type app.Config

Caught when testing #3064's stack end-to-end: librefang-tempo restart-
looped and never served :3200 until both sections were removed. Those
fields were nice-to-haves (block duration / retention tuning); their
built-in defaults are fine for a local dev stack. A comment points at
the Tempo docs for anyone who wants to re-add them with the correct
schema for their image version.
@github-actions github-actions Bot added ready-for-review PR is ready for maintainer review no-rust-required This task does not require Rust knowledge size/S 10-49 lines changed labels Apr 24, 2026
@houko
houko merged commit d237967 into main Apr 24, 2026
15 checks passed
@houko
houko deleted the fix/tempo-config-schema branch April 24, 2026 16:52
@github-actions github-actions Bot removed the ready-for-review PR is ready for maintainer review label Apr 24, 2026
@houko houko mentioned this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-rust-required This task does not require Rust knowledge size/S 10-49 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant