Harnessing the power of OpenTelemetry, Logfire not only offers broad compatibility with any OpenTelemetry
instrumentation package, but also includes a user-friendly CLI command that effortlessly highlights any
missing components in your project.
To inspect your project, run the following command:
logfireinspect
This will output the projects you need to install to have optimal OpenTelemetry instrumentation:
To install the missing packages, copy the command provided by the inspect command, and run it in your terminal.
Each instrumentation package has its own way to be configured. Check our Integrations page to
learn how to configure them.
If you are creating a new application or are not using a logging system, you can skip this step.
You should use Logfire itself to collect logs from your application.
All the standard logging methods are supported e.g. logfire.info().
There are many logging systems within the Python ecosystem, and Logfire provides integrations for the most popular ones:
Standard Library Logging, Loguru, and
Structlog.