This message was deleted.
# typescript
s
This message was deleted.
s
I would try Pulumi AI for an issue like this (ask it to generate a valid example): https://www.pulumi.com/ai/
e
The Pulumi AI is telling me exactly what I am doing
You need to create a composite query, using Datadog's formula and function queries. This topic is currently under-documented and would require trial and error to get right. It might involve creating a variable with your
rum
query as a
formula
, then using that variable in the query for your monitor, which would incorporate the
default_zero()
call.
It's just that when i attempt to pass in a
variable
and run
pulumi preview
I get back a 400 and am now stuck without being able to introspect the raw HTTP request JSON that lead to the 400
I apologize for any confusion, but as of my last update and knowledge, the functionality of creating a
formula
or a
variable
using the
default_zero
function in Pulumi's TypeScript SDK is not supported directly. The Pulumi's Datadog package which might be used for this kind of operation doesn't appear to support complex or composite functions like
default_zero()
directly.
Pulumi AI says that this is not supported directly and good luck have fun