Casey Chow

Results 17 comments of Casey Chow

Can't comment authoritatively but when we implemented it on our codebase it worked just fine with Datadog APM, so I'd presume so?

> What articles do you recommend to implement it? I am checking Datadog's article [OTLP Trace Ingestion by the Datadog Agent](https://docs.datadoghq.com/tracing/trace_collection/open_standards/otlp_ingest_in_the_agent/?tab=docker) and can't think of how to accomplish that based...

Sounds like it's time for some good old DisposeBags. Sent with GitHawk

> Would it be a terrible idea to cache the objects with `JSON.stringify(obj)` as a value and their table&id combination as a key? I'm thinking about something like > Key...

> @casey-chow Do you think converting dates to ISO strings before serializing and deserializing would solve the problem? This would include traversing nested objects for date fields. I don't think...

Would it be sufficient to just throw in a `jobQueue.empty()` before calling `jobQueue.add()`?

One thing I've noticed with this feature so far when integrating with Datadog is that we aren't able to get `prisma:engine` spans anymore. This has also been raised on an...

Is there a way to get traces attributed to a particular client? Especially with read replicas, it would be tremendously useful to understand whether a span is hitting the primary...

I wrote up a quick and dirty one that worked on my medium-sized (90k cloc) codebase, hope this helps anyone who can use it: https://gist.github.com/casey-chow/296ec312f730fb3a8ed9a3a2447fb737

I have required fields, which means that with `new Something` I would have to basically copy the valid attributes object again sans a single line, which gets quite cumbersome.