rkbh
CCConvex Community
•Created by The Aleks on 11/10/2023 in #support-community
Axiom log stream stopped working
Let me know if you're still running into the issue
6 replies
CCConvex Community
•Created by The Aleks on 11/10/2023 in #support-community
Axiom log stream stopped working
Hey @The Aleks ! I see in our logs that your Axiom sink might have failed to verify recently but the latest logs seem to indicate it is working again. Is this consistent with what you're seeing? The verification errors seem to indicate there might be a possible Axiom outage
6 replies
CCConvex Community
•Created by charlie on 11/8/2023 in #support-community
Best practice for forwarding webhook errors to Sentry?
If you're without Datadog, I'd highly recommend Axiom https://axiom.co/ ! They have a generous free tier and are super easy to use
14 replies
CCConvex Community
•Created by charlie on 11/8/2023 in #support-community
Best practice for forwarding webhook errors to Sentry?
@sentry/node
is a bit awkward to get to work nicely in serverless runtimes, since the package internally buffers and flushes events using exit handlers. This is why @sentry/serverless
exists, but alas there is no Convex client here yet.
If you want to use @sentry/node
, you should be able to manually await the Sentry base client's flush
method at the end of function invocations to be sure that the internal buffers are flushed14 replies
CCConvex Community
•Created by Mikael Lirbank on 11/7/2023 in #general
I am seeing a lot of these this
Hey @Mikael Lirbank! Are you using Node actions with any large imported dependencies by any chance? I'm wondering if this is a large source code size issue paired with network hiccups
15 replies
CCConvex Community
•Created by Gray on 10/25/2023 in #support-community
Profiling function performance
Just saw this, @Gray database read/write and storage read/write bandwidth are being added to log streams very soon! Should be available later today or Monday. The plan is to add it to the
_execution_record
log. The docs will be updated here as soon as it's out! https://docs.convex.dev/production/log-streams#function-execution-record-logs10 replies
CCConvex Community
•Created by yokoli on 10/18/2023 in #general
Alternatively would love to get help on
This is something @Indy and @sujayakar were thinking about recently, I believe! I'll defer to them on this
21 replies
CCConvex Community
•Created by yokoli on 10/18/2023 in #general
Alternatively would love to get help on
Thanks sm for mentioning this, seems like it would be really useful to support this package (and ones like it). Hopefully we'll be able to soon!!
21 replies
CCConvex Community
•Created by yokoli on 10/18/2023 in #general
Alternatively would love to get help on
But this will hit the 250 MB Lambda limit. I tried it locally earlier 😦
21 replies
CCConvex Community
•Created by yokoli on 10/18/2023 in #general
Alternatively would love to get help on
Yep there is a way by marking this as an external package (https://docs.convex.dev/functions/bundling#specifying-external-packages) in your
convex.json
.
You would place this there:
You'll have to update to the newest Convex version 1.4.1
to use this feature btw.21 replies
CCConvex Community
•Created by yokoli on 10/18/2023 in #general
Alternatively would love to get help on
The reason it doesn't work out of the box with
node
is because our Node runtime uses a similar bundling process to the Convex runtime which can't pickup those onnx
by default21 replies
CCConvex Community
•Created by yokoli on 10/18/2023 in #general
Alternatively would love to get help on
@yokoli yep, the package itself is only 45MB, but the dependencies it pulls in makes your
node_modules
folder 254 MB (on OS X with @xenova/transformers=2.6.2
), which just passes the Lambda limit21 replies
CCConvex Community
•Created by yokoli on 10/18/2023 in #general
Alternatively would love to get help on
Unfortunately, it doesn't look like we can support
@xenova/transformers
at this time 😦 . At runtime, it depends on local onnx
files which our bundler is unable to bundle at push-time leading to this runtime issue.
We have an upcoming feature to support packages like this with dynamic runtime dependencies in our Node runtime in Convex 1.4 (coming soon). There is still, however, a 250MB unzipped limit for packages enforced by AWS Lambda, which is likely to be exceeded by heavy packages like this which include local ML model files.
Supporting larger packages is an active area of work for us, so hopefully we can support this in the near future.21 replies
CCConvex Community
•Created by yokoli on 10/18/2023 in #general
Alternatively would love to get help on
Hey @yokoli, looking into this right now! Will get back to you in a bit
21 replies
CCConvex Community
•Created by rkbh on 9/21/2023 in #announcements
Discussions
@mikeysee Axiom log stream out!
6 replies
CCConvex Community
•Created by rkbh on 9/21/2023 in #announcements
Discussions
@mikeysee awesome, Axiom is actually next on our radar! I'll let you know as soon as we get that out 😉
6 replies
CCConvex Community
•Created by RJ on 8/7/2023 in #support-community
Logs not displaying in Convex dashboard for dev
@RJ got it! The source index missing log messages in the dashboard browser console are totally normal for larger projects, so is likely unrelated. The missing log stream is not expected and we'll investigate this right now
10 replies