djeck1432 / spotnet

8 stars 52 forks source link

[BACKEND] Add sentry package to collect logs #203

Closed djeck1432 closed 1 week ago

djeck1432 commented 1 week ago

🚨 Attention: Please read the guidelines before applying; otherwise, you will be ignored. 🚫📋

  1. Please, join the telegram group to keep in touch https://t.me/+m0IGRiBvLtsyMzIy
  2. Read guideline here
  3. Install using poetry sentry-sdk[fastapi]@latest
  4. Update .env.example with setnry_dsn` key
  5. Add logic to run it only if it's production env not dev to avoid spamming
    • Production env build with docker-compose.yaml How to do that:
    • add to .env.dev new variable, ENV_VERSION=DEV`
    • check it before init sentry_sdk, if os.getenv("ENV_VERSION") == "DEV" ignore it if other value, init sentry_sdk
      1. Use this code for init sentry in file main.py:
        
        import sentry_sdk

sentry_sdk.init( dsn="https://None", traces_sample_rate=1.0, _experiments={ "continuous_profiling_auto_start": True, }, )

mexes20 commented 1 week ago

Can I be assigned to work on this? I like 🍎.

djeck1432 commented 1 week ago

@mexes20 you were assigned

djeck1432 commented 1 week ago

@mexes20 Hi, any updates?

mexes20 commented 1 week ago

@djeck1432 on it already

djeck1432 commented 1 week ago

@mexes20 you will be unassign in an hour.

djeck1432 commented 1 week ago

sorry, 12 hours are passed. @mexes20 you are unassigned

0xdevcollins commented 1 week ago

Can I get this @djeck1432

Benjtalkshow commented 1 week ago

can i work on this?

Michaelkingsdev commented 1 week ago

I would love to work on this please. I like 🍎.

Criste-ai commented 1 week ago

Can I work on this?I like 🍎

Villarley commented 1 week ago

Hi @djeck1432 ,

I’m a Dojo Coding member and an active contributor to the OSS community. I’ve worked on several Web3 projects, including contributions to stellar projects, specifically building on StarkNet. I also have solid experience with React, and as a Web3 hackathon buildathon winner.

I would like to contribute to this python issue, because I want to start contributing to spotnet, and as I see is labeled for new contributors. I like 🍎🍎

djeck1432 commented 1 week ago

@Criste-ai you were assigned and you have 12 hours to finish this task.

djeck1432 commented 1 week ago

Hi @Criste-ai any updates?

Criste-ai commented 1 week ago

I need more time

djeck1432 commented 1 week ago

@Criste-ai I will give you 2 more hours, task for 15 mins, just copy/paste and run one command and 10 mins for reading what is sentry and how it works.

djeck1432 commented 1 week ago

@Criste-ai if you need any help just text me in DM in telegram djeck_vorobey1

mexes20 commented 1 week ago

@djeck1432 sorry I had poor network reception, it was just fixed now.

If the current assignee isn't able to, then I'll push the work I have done already for your review. Apologies for the late response.

djeck1432 commented 1 week ago

@mexes20 sorry, it was unassigned you, so you will not have opportunity to contribute more for this issue. If you have issue and you didn't notify me via telegram or here, how can I know about it? following the rule, you have 12 hours for doing this task. Your time has over

mexes20 commented 1 week ago

@djeck1432 You're right and I understand. Like I explained my network was cut off, so it wouldn't have been possible to pass any message across even on telegram. Yes I understood the rules, also I saw that some extra time was given to the current assignee which works as well. Thanks

djeck1432 commented 1 week ago

@mexes20 you don't have phone or access to telegram via it?

djeck1432 commented 1 week ago

@Criste-ai you were unassign, I gave you more than 12 hours to make this task

bloomingpeach commented 1 week ago

Can I work on this issue @djeck1432? I like 🍎.

mexes20 commented 1 week ago

@mexes20 you don't have phone or access to telegram via it?

Apologies once again.

djeck1432 commented 1 week ago

@mexes20 last assigned contributor done it for 30 mins. as I mentioned above. easy task

mexes20 commented 1 week ago

@djeck1432 like I mentioned, I had already done it but couldn't push

On the attached screenshot, you can see the time courtesy of GitLens

image
djeck1432 commented 1 week ago

@mexes20 I will give you one more try. but please, if you that something goes wrong, just drop a message in telegram.

djeck1432 commented 1 week ago

@mexes20 texts me in telegram djeck_vorobey1

mexes20 commented 1 week ago

Alright, I will.

mexes20 commented 4 days ago

@mexes20 texts me in telegram djeck_vorobey1

@djeck1432 I've been unable to DM you since last week, I thought it was a glitch that would pass but apparently it's a Telegram restriction.