Skip to content
New issue

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

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

Already on GitHub? # to your account

Instrument for Logfire / OpenTelemetry #265

Merged
merged 22 commits into from
Jul 15, 2024
Merged

Conversation

jackmpcollins
Copy link
Owner

@jackmpcollins jackmpcollins commented Jul 15, 2024

Use the logfire-api package to add Logfire / OpenTelemetry instrumentation. This makes traces visible in Logfire or locally using Jaeger. Added a new docs page with steps to configure these. Also removed the MAGENTIC_VERBOSE setting in favor of using logfire console printing.

docs page: https://magentic.dev/logging-and-tracing/

logfire_describe_weather

logfire-api docs: https://docs.pydantic.dev/logfire/integrations/third_party/

Closes #136
Closes #55

@jackmpcollins jackmpcollins self-assigned this Jul 15, 2024
@jackmpcollins jackmpcollins marked this pull request as ready for review July 15, 2024 02:38
@jackmpcollins jackmpcollins merged commit 6584a03 into main Jul 15, 2024
2 of 3 checks passed
@jackmpcollins jackmpcollins deleted the add-opentelemetry branch July 15, 2024 02:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support OpenTelemetry Capability to debug model input/output
1 participant