Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add example tracing infrastructure #1866

Merged
merged 1 commit into from Jun 9, 2023

Conversation

daenney
Copy link
Member

@daenney daenney commented Jun 4, 2023

Description

This adds an example on how to get Grafana Tempo up to receive spans as well as Grafana itself to view them.

I've added this as a separate Tracing doc in the installation guide as the Advanced one was starting to get rather full.

Fixes: #1791

Checklist

Please put an x inside each checkbox to indicate that you've read and followed it: [ ] -> [x]

If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want).

  • I/we have read the GoToSocial contribution guidelines.
  • I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat.
  • I/we have performed a self-review of added code.
  • I/we have written code that is legible and maintainable by others.
  • I/we have commented the added code, particularly in hard-to-understand areas.
  • I/we have made any necessary changes to documentation.
  • I/we have added tests that cover new code.
  • I/we have run tests and they pass locally with the changes.
  • I/we have run go fmt ./... and golangci-lint run.

@daenney
Copy link
Member Author

daenney commented Jun 4, 2023

I still need to test a thing and I want to add a screenshot of what it looks like. But this should be most of it already.

@daenney daenney force-pushed the tracing-infra branch 4 times, most recently from 829620f to 8eaeb5b Compare June 4, 2023 16:57
This adds an example on how to get Grafana Tempo up to receive spans as
well as Grafana itself to view them.

I've added this as a separate Tracing doc in the installation guide as
the Advanced one was starting to get rather full.

Fixes: superseriousbusiness#1791
@daenney
Copy link
Member Author

daenney commented Jun 5, 2023

version: "3"
services:
tempo:
image: docker.io/grafana/tempo:2.1.1
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm using fully qualified names here so that it also works with podman. I've tested it with podman-compose up too.

trace:
backend: local
wal:
path: /tmp/tempo/wal
Copy link
Member Author

Choose a reason for hiding this comment

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

These two paths match the services.tempo.volumes in the compose file.

@tsmethurst
Copy link
Contributor

Ahhh great, thank you so much for doing this, you're a gem <3 <3

@tsmethurst tsmethurst merged commit 6f6b857 into superseriousbusiness:main Jun 9, 2023
2 checks passed
tsmethurst pushed a commit that referenced this pull request Jun 14, 2023
This adds an example on how to get Grafana Tempo up to receive spans as
well as Grafana itself to view them.

I've added this as a separate Tracing doc in the installation guide as
the Advanced one was starting to get rather full.

Fixes: #1791
@daenney daenney deleted the tracing-infra branch July 7, 2023 11:31
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.

[docs] Add examples for deploying tracing infrastructure
2 participants