Moderator
Yes
Votes
0
Replies
24
Participants
Unknown
Messages
25
Moderator
Yes
Moderator
Or at least that's what docs says, it's App ID, not project ID
Okay,
You can see here
https://github.com/utopia-php/logger/blob/main/src/Logger/Adapter/Sentry.php#L16
And here
https://github.com/utopia-php/logger/blob/main/src/Logger/Adapter/Sentry.php#L21
What part should be inserted into the final string
_APP_LOGGING_CONFIG=FIRST;SECONDI've did it and just got my first sentry
Moderator
But in sentry, where are those params?
Moderator
I'm searching and can't find them
Go to this url
https://[ORG].sentry.io/projects/[PROJECT]/getting-started/
Replace
[ORG] - with your organization name[PROJECT] - with your project nameAnd you'll see this
Moderator
And what of those are the corresponding parameters?
Moderator
Furs and second in the URL?
Yes,
Extarct those who I've named FIRST and SECOND
And put them in your .env file and separate them using a semicolon ;
_APP_LOGGING_CONFIG=FIRST;SECONDYou mean the ORG and the PROJECT?
You'll find them when you're viewing your main sentry project page
Moderator
Seems that now works. Without making anything, im getting the error
Moderator
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'appwrite._2__metadata' doesn't exist
sync_project_2_metric_project.$all.network.requests
Moderator
Is there something wrong or what
It seems like there's a double __ in between the 2 and the metadata
This is not usually the case.
Maybe it's something that left behind from an older versions?
Moderator
Nope, clean install. I think it's not related to the main issue?
Moderator
Will open then another thread
Moderator
[SOLVED] Setup sentry in Appwrite
Moderator
Apparently It seems like this was caused due to docker rebuild
Moderator
Wow, it's really useful using Sentry, made 2 errors in a function intentionally and got where it was the error, unlike the one shown directly in the console
Yes, you get much more detailed error.
Sentry is 