We’re using Coinbase SDK (waiting for the official Ruby-SDK to become stable) along with managed Temporal cloud instance, and recently we’ve enabled the Datadog intergration to monitor our workflow execution activity.
We noticed that all workflow related stats, e.g. temporal.cloud.v0_workflow_failed arrive to DD with a workflowtype tag (dimension) which is automatically set to the value _tag_excluded.
I’ve been looking for a way to set this value from the application to allow a workflow based granularity, but I can’t seem to find where it belongs…
SDK doesn’t seem to give any support for this, and the integration also doesn’t provide any related configuration options.
Thanks for getting back to me on this @Chad_Retz .
I also just joined the Slack Workspace and will be sharing this thread there as well if necessary.
I kind of used the Datadog integration off the shelf, so I’m not sure what does “SDK metric” relates to. here’s a screenshot from my DD instance, hope it helps:
Note, if you do use SDK-side/worker-side metrics, there is a temporal_workflow_failed that does contain the workflow_type. However, it won’t be affected by workflows that terminate (which includes timeouts and resets) because they never reach the worker. There are other ways to obtain which workflows failed, such as listing with a query looking for ones that failed.
I am afraid I am not familiar with the Coinbase SDK or what metrics it has. May have to ask in the aforementioned Slack channel. That collection of SDK metrics at that link is only for official SDKs.