最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - DataDog Trace Analytics Not triggering alerts with URLParam and type GET while same working for POST - Stack Overflow

programmeradmin3浏览0评论

I have a use case requiring a URL query string to trigger an alert. As part of the API requests, the parameter longrun=1 is being sent.

Created trace analytics monitor with GET type as below

@http.url_details.queryString.longrun:1 resource_name:"GET/myapi/details"").rollup("sum", "@duration").by("resource_name").last("5m") > 300

which is not triggering any alerts.

But as soon as change type to POST as below which is working fine.

@http.url_details.queryString.longrun:1 resource_name:"POST /myapi/details"").rollup("sum", "@duration").by("resource_name").last("5m") > 3000

Using DD with type POST and fetching the end point information in graph and leading to alerts->

with GET: Though we have requests submitted, the query not fetching which inturns not leading to no alerts.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论