Skip to content

Attempting to instrument while already instrumented? Why? #1022

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

Open
Cr8Edge opened this issue Apr 16, 2025 · 0 comments
Open

Attempting to instrument while already instrumented? Why? #1022

Cr8Edge opened this issue Apr 16, 2025 · 0 comments
Labels
Question Further information is requested

Comments

@Cr8Edge
Copy link

Cr8Edge commented Apr 16, 2025

Question

I'm using this init routine but keep getting re-instrumentation warnings? What am I doing wrong? It's a streamlit app.

logfire.configure()
logger.configure(handlers=[logfire.loguru_handler()])
logfire.instrument_openai()
logfire.instrument_system_metrics()

| Logfire project URL:
0|Grader-UI | https://logfire-us.pydantic.dev/...
0|Grader-UI | Attempting to instrument while already instrumented

@Cr8Edge Cr8Edge added the Question Further information is requested label Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant