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

Docker logs / Kubernetes logs #544

Open
vitalik opened this issue Oct 26, 2024 · 4 comments
Open

Docker logs / Kubernetes logs #544

vitalik opened this issue Oct 26, 2024 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@vitalik
Copy link

vitalik commented Oct 26, 2024

Question

Is there a simple way to hook collect all logs from docker (or kubernetes) and send to logfire ?

@vitalik vitalik added the Question Further information is requested label Oct 26, 2024
@Kludex
Copy link
Member

Kludex commented Oct 29, 2024

For docker, I guess you'd like to read this: https://docs.docker.com/engine/cli/otel/, and point to https://logfire-api.pydantic.dev.

For K8s, I think this is what makes sense: https://opentelemetry.io/docs/kubernetes/getting-started/#kubernetes-objects-receiver, and you need to set the exporter to https://logfire-api.pydantic.dev.

You can also read Alternative Clients section on our docs.

@Kludex
Copy link
Member

Kludex commented Oct 29, 2024

Should we document this? 🤔

@alexmojaki
Copy link
Contributor

A section in the alternative clients docs sounds sensible to me.

@sydney-runkle sydney-runkle added documentation Improvements or additions to documentation and removed Question Further information is requested labels Oct 31, 2024
@Kludex Kludex assigned Kludex and unassigned sydney-runkle Dec 24, 2024
@Kludex
Copy link
Member

Kludex commented Dec 24, 2024

It seems both links I provided need to set up the OpenTelemetry Collector. When @adriangb has time to document a page about the importance, and why to use it, then I think we can add those examples and add a link to that page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants