Alex Hall
Alex Hall
> i checked the sampler, it did replace the value, but fastapi instrument ignore it what does this mean? why do you say it replaced the value?
Sigh, the OTel library sets the attributes again after the span starts. For now as a workaround I think you have remove both `http.url` and `logfire.msg` from the safe keys,...
Hi @bensi94, thanks for sharing, this looks very interesting. It looks like you currently know more about this area than we do. So I think it would be best for...
I'm not able to reproduce any problems by just importing logfire. But I can see that printing the project link is a problem. Here's how to prevent that: ```python import...
what does `print(1); import logfire; print(2); logfire.configure(); print(3)` do?
Just noticed that threading isn't needed: ```python %%writefile issue.py import rich print('before rich') rich.print('before link [link=link_url]inside link[/link] after link') print('after rich') ```
> print(4) after that library is imported is where the problem starts are you sure that's not just because importing that library takes time and the project link gets printed...
> If this is set, or the ConsoleOptions(show_project_link=False) is set, it still shows the blank project URL printout. Only if the environment variable is set does it not print any...
You're saying that if you remove `logfire.configure()`, no project URL gets printed, but adding `logfire.configure(console=False)` prints a project URL? That definitely doesn't happen locally.
Yes, the token is checked in a background thread, and if it's valid it prints the project URL. OK there's no more mystery here. I think we can just remove...