alan
CDCloudflare Developers
•Created by alan on 9/5/2024 in #workerd
👋 I started seeing some illegal
i filed an issue with datadog here: https://github.com/DataDog/datadog-api-client-typescript/issues/1801
2 replies
CDCloudflare Developers
•Created by alan on 9/5/2024 in #workerd
👋 I started seeing some illegal
I found out what the problem was. It was from a subtle update to the datadog client and I was able to track down the specific change: https://github.com/DataDog/datadog-api-client-typescript/pull/1646
i will downgrade
2 replies
CDCloudflare Developers
•Created by alan on 6/12/2024 in #workers-help
KV Store max value exceeded for put
i can give that a shot. i did go down a path using TextEncoder/TextDecoder in order to introduce some binary encoding for the storage. Thanks @VinerzZ !
on a similar note, this might not be a big deal but i'm sorta just wondering if i'm observing something weird or if i have something weird in my code but i'm trying to intentionally break the storage put by creating a very large string (
"a".repeat(131_072)
is what im doing). What's interesting is when I am over the 131_072 limit (i did a 131_072 *1.5
) i get a different length for the string i passed and the error message:
"[RangeError] Values cannot be larger than 131072 bytes. A value of size 131178 was provided."
String length: 131172
i am guessing this is some extra padding that might have been added in order to make the storage transaction. however, i just wanted to call this out as it gave me a little less confidence in what i am doing with this api. if you have any insight onto if my intuition is right, that would be great to hear15 replies
CDCloudflare Developers
•Created by alan on 6/12/2024 in #workers-help
KV Store max value exceeded for put
this is probably a super noob ts/js question
15 replies
CDCloudflare Developers
•Created by alan on 6/12/2024 in #workers-help
KV Store max value exceeded for put
yeah that makes sense. im not too familiar with typescript/javascript but do you happen to know of what string serialization issues there might be with the JSON.stringify and using the KV storage?
15 replies
CDCloudflare Developers
•Created by alan on 6/12/2024 in #workers-help
KV Store max value exceeded for put
for the value
15 replies
CDCloudflare Developers
•Created by alan on 6/12/2024 in #workers-help
KV Store max value exceeded for put
i guess would it be advised to just JSON.stringify() before i do a put
15 replies
CDCloudflare Developers
•Created by alan on 6/12/2024 in #workers-help
KV Store max value exceeded for put
(im basically looking to use the storage to store some edit history of a given document)
15 replies
CDCloudflare Developers
•Created by alan on 6/12/2024 in #workers-help
KV Store max value exceeded for put
i do also have another requirement that kind of forces me to do the byte count bookeeping on the application side and im a bit unsure how to really handle doing this with JSON.stringify because of the nature of strings with typescript
15 replies
CDCloudflare Developers
•Created by alan on 6/12/2024 in #workers-help
KV Store max value exceeded for put
also thank you for your quick response!
15 replies
CDCloudflare Developers
•Created by alan on 6/12/2024 in #workers-help
KV Store max value exceeded for put
like
{ b64: "...huge"}
15 replies
CDCloudflare Developers
•Created by alan on 6/12/2024 in #workers-help
KV Store max value exceeded for put
they're basic objects but some of the values might be some large base64 string
15 replies
CDCloudflare Developers
•Created by alan on 2/23/2024 in #general-help
logpush enabled but data not appearing in datadog
it was working and the problem was that datadog had the logs batched up together
4 replies
CDCloudflare Developers
•Created by alan on 2/23/2024 in #general-help
logpush enabled but data not appearing in datadog
ah i figured it out. thank you all
4 replies
CDCloudflare Developers
•Created by alan on 2/23/2024 in #general-help
logpush enabled but data not appearing in datadog
to be clear, im not getting my console logs forwarded to datadog
4 replies
CDCloudflare Developers
•Created by alan on 1/24/2024 in #general-help
403 on enabling Logpush via the Worker website page
this is still not working for me. is there anything i can do?
8 replies
CDCloudflare Developers
•Created by alan on 1/24/2024 in #general-help
403 on enabling Logpush via the Worker website page
so im guessing this is because you all require the wrangler deployment in order for logpush to work?
8 replies