-
Notifications
You must be signed in to change notification settings - Fork 158
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
feat: add logfire as output method #542
Conversation
As discussed @SabAmine, here it is a rough example using the log output. What do you think? |
Signed-off-by: inimaz <93inigo93@gmail.com>
Signed-off-by: inimaz <93inigo93@gmail.com>
Signed-off-by: inimaz <93inigo93@gmail.com>
@SaboniAmine It should be ready to merge. Now it uses the composite output handling coming from master. And it calls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small but maybe impactful question.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the work!
Goal
Open the discussion on how codecarbon could send the output to logfire, a new monitoring framework https://docs.pydantic.dev/logfire/
How to use this branch
This redirects to a page where you can log in with your github user.
Once your logfire account is created, run the script:
Output
Example of the output that I obtain
![image](https://private-user-images.githubusercontent.com/49730431/333895125-7bdec757-1d0c-49cd-bc31-c339dbdd61a5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MjI3NjgsIm5iZiI6MTcyMTQyMjQ2OCwicGF0aCI6Ii80OTczMDQzMS8zMzM4OTUxMjUtN2JkZWM3NTctMWQwYy00OWNkLWJjMzEtYzMzOWRiZGQ2MWE1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE5VDIwNTQyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMxNjk1MmEwNmM4OTUxNTVlOTFhYWM3NDZhN2M2MjU2YTI4ZTRiMjZhZDRiZjY0NzQ2MWVlZWIwNTk4MWVkZDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4DEJw8xQEWD_AAoLSEDH3Mzn_LpGJnjJTrmK-LqMJsk)