콘텐츠로 이동

장고

logfire.instrument_django() 방법을 사용할 수 있습니다. 로그파이어 탐지 장고 웹 프레임워크.

설치

django 추가와 함께 logfire 설치:

{{ install_logfire(extras=['django']) }}

사용법

settings.py 파일에 다음 줄을 추가합니다.

import logfire

# ...All the other settings...

# Add the following lines at the end of the file
logfire.configure()
logfire.instrument_django()

[logfire.instrument_django()][로그파이어. 로그파이어. 악기_do] OpenTelemetry Do 계측 가방, 넌 할 수 있어여기 있습니다.패키지에 대해 자세히 알아보십시오.

요청 및 응답 헤더 캡처


本文总阅读量次