Skip to content

chore: make tempo singlebinary example to use the local backend#7033

Merged
javiermolinar merged 4 commits intomainfrom
tempo-example-local
Apr 22, 2026
Merged

chore: make tempo singlebinary example to use the local backend#7033
javiermolinar merged 4 commits intomainfrom
tempo-example-local

Conversation

@javiermolinar
Copy link
Copy Markdown
Contributor

@javiermolinar javiermolinar commented Apr 22, 2026

What this PR does:
We don't have any example using local backend. Since Tempo singlebinary can be run with a persistent volume I think its beneficial to have a simpler example

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2026

💻 Deploy preview deleted (chore: make tempo singlebinary example to use the local backend).

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Tempo single-binary docker-compose example to store traces on the local filesystem instead of using an S3-compatible backend (MinIO), simplifying the example stack and aligning docs with the new behavior.

Changes:

  • Switch storage.trace.backend in the single-binary example config from s3 to local and configure the local blocks path.
  • Remove the MinIO service from the single-binary docker-compose.yaml.
  • Update example/docs tables and the docker quickstart to no longer reference MinIO for the single-binary setup.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
example/docker-compose/single-binary/tempo.yaml Changes trace storage backend from S3/MinIO to local filesystem and adds local path configuration.
example/docker-compose/single-binary/docker-compose.yaml Removes MinIO container and keeps the stack focused on Tempo + supporting services.
example/docker-compose/readme.md Updates the examples matrix to reflect local filesystem storage for single-binary.
docs/sources/tempo/docker-example.md Updates the expected docker compose ps output to remove the MinIO container entry.

wal:
path: /var/tempo/wal # where to store the wal locally
local:
path: /var/tempo/blocks
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth making it a named volume then - so it survives container update?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good idea

Copilot AI review requested due to automatic review settings April 22, 2026 10:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

Copy link
Copy Markdown
Contributor

@oleg-kozlyuk-grafana oleg-kozlyuk-grafana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (pending conflict in CHANGELOG.md)

@javiermolinar javiermolinar merged commit 4808922 into main Apr 22, 2026
46 of 47 checks passed
@javiermolinar javiermolinar deleted the tempo-example-local branch April 22, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants