-
Notifications
You must be signed in to change notification settings - Fork 345
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
Add OTEL & improve logs in Segment app #1675
Conversation
🦋 Changeset detectedLatest commit: cd4c973 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
logger.warn( | ||
"Segment write key is not set in app configuration. Contact client to fix the issue.", | ||
); |
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.
question: do we want to treat broken app config as warning for our logs? I think this is fine for now, but imho it's not really scalable and client logs would be better ;)
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.
In other PR I disable webhooks is there is no key so hopefully there won't be many such situations but I agree - we should let client know (client logs or maybe emails etc.)
* log suspicious taxes calculation (#1658) * fix log (#1660) * Use vercel log drain in merchant apps (#1657) * Use vercel log drain * Add changeset * improve log for non zero line (#1663) * Bring back Segment app to monorepo (#1665) * Fix deployment of Segment app (#1666) * Add setup node to GHA workflow (#1673) * Add Sentry to Segment app (#1671) * Add OTEL & improve logs in Segment app (#1675) * Fixed app version send to Segment & how we send events (#1676) * Add use-case to Segment app (#1677) * Initially disable Segment app webhooks (#1678) * Add README to Segment app (#1683) * Improve Segment app logo (#1682) * Fix missing cache for test workflow (#1685) * Add new Vercel log limit (#1684) * Run autofix for monorepo (#1681) * Fix code scan issue with ALLOWED_DOMAIN_PATTERN regex (#1687) --------- Co-authored-by: Lukasz Ostrowski <[email protected]> Co-authored-by: Paweł Chyła <[email protected]>
Scope of the PR
Related issues
Checklist