·logfire
</>

logfire

jiatastic/open-python-skills

使用 Pydantic Logfire 和 OpenTelemetry 进行结构化观察。在以下情况下使用:(1) 向 Python API 添加跟踪/日志,(2) 检测 FastAPI、HTTPX、SQLAlchemy 或 LLM,(3) 设置服务元数据,(4) 配置采样或清理敏感数据,(5) 测试可观测性代码。

9安装·0热度·@jiatastic

安装

$npx skills add https://github.com/jiatastic/open-python-skills --skill logfire

SKILL.md

Structured observability for Python using Pydantic Logfire - fast setup, powerful features, OpenTelemetry-compatible.

| Web | FastAPI | logfire.instrumentfastapi(app) | | | Starlette | logfire.instrumentstarlette(app) | | | Django | logfire.instrumentdjango() | | | Flask | logfire.instrumentflask(app) | | | AIOHTTP Server | logfire.instrumentaiohttpserver() | | | ASGI | logfire.instrumentasgi(app) | | | WSGI | logfire.instrumentwsgi(app) |

| HTTP | HTTPX | logfire.instrumenthttpx() | | | Requests | logfire.instrumentrequests() | | | AIOHTTP Client | logfire.instrumentaiohttpclient() | | Database | SQLAlchemy | logfire.instrumentsqlalchemy(engine) | | | Asyncpg | logfire.instrumentasyncpg() | | | Psycopg | logfire.instrumentpsycopg() | | | Redis | logfire.instrumentredis() |

使用 Pydantic Logfire 和 OpenTelemetry 进行结构化观察。在以下情况下使用:(1) 向 Python API 添加跟踪/日志,(2) 检测 FastAPI、HTTPX、SQLAlchemy 或 LLM,(3) 设置服务元数据,(4) 配置采样或清理敏感数据,(5) 测试可观测性代码。 来源:jiatastic/open-python-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/jiatastic/open-python-skills --skill logfire
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 logfire?

使用 Pydantic Logfire 和 OpenTelemetry 进行结构化观察。在以下情况下使用:(1) 向 Python API 添加跟踪/日志,(2) 检测 FastAPI、HTTPX、SQLAlchemy 或 LLM,(3) 设置服务元数据,(4) 配置采样或清理敏感数据,(5) 测试可观测性代码。 来源:jiatastic/open-python-skills。

如何安装 logfire?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/jiatastic/open-python-skills --skill logfire 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/jiatastic/open-python-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01