Hi all,
Got a weird one. We’re trying to push custom metrics from a Data Action to a DogStatsD collector for some APM tracking. Most of the time it’s fine, but occasionally the action just hangs and we get zero trace data in the logs. No error code, no 400, just… nothing!!
Is it a timeout? Probably. But the timeout is set to 30 seconds and it’s dropping way before that.
I’ve tried a few ways to debug this:
Option A: Use GET /api/v2/integrations/actions/{actionId} to check if the config is actually deployed or if there’s a mismatch between the draft and the live version.
Pro: Easy to verify.
Con: Doesn’t actually explain why the execution trace disappears during the hang.
Option B: Try to pull the draft config via GET /api/v2/integrations/actions/{actionId}/draft and compare the JSON body for any hidden characters or encoding issues that might be tripping up the request.
Pro: Catches schema errors.
Con: Takes forever to manually diff the JSON when you have 50+ parameters.
The request body looks clean, but the trace is just gone. We’ve checked the log pipeline and the metrics aren’t hitting the collector, but the Data Action isn’t reporting a failure either. It’s like the request just vanishes into the void.
{
"action": "metric.post",
"metric_name": "queue.wait_time",
"value": 45,
"tags": ["region:tokyo", "env:prod"]
}