datadog提交指标无效

发布于 2025-02-13 21:27:33 字数 251 浏览 0 评论 0原文

我想向datadog提交价值以生成自定义度量标准,但我不想发送任何措施。

我想对我的值进行查询以生成度量标准。 例如,我想提交包含的数据(用户名,product_purch)都是字符串值(使用Python API) 在datadog中,我想将此数据查询为:

select product_purchased , count(username) from data

为了生成自己的指标,这是在datadog中的。

I want to submit value to datadog to generate custom metric, but I don't want to send any measure yet.

I want to run a query on my values to generate a metric.
For example I want to submit data that contains (username, product_purchased) both are string values (using python api)
and in datadog I want to query this data as :

select product_purchased , count(username) from data

to generate my own metric, is this possible in datadog.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

回忆追雨的时光 2025-02-20 21:27:33

如果没有数字,那不是度量标准。需要有一个数字值才能提交一些标准。 Datadog不是交易数据库。

更常见的是,人们要为每次交易发送日志,并根据这些应用程序日志进行查询,或从结帐服务中将自定义跨度标签添加到其APM跟踪中。

这些方法中的任何一种都可以允许查询来计算产品分组的独特用户数量。

If there is no number, that is not a metric. There needs to be a numeric value to submit something as a metric. Datadog is not a transactional database.

What's more common is for people to send log for every transaction, and make queries based off those application logs, or to add custom span tags to their APM traces from the checkout service.

Either of those methods would allow to make queries to count the unique number of users grouped by product.

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文