是否可以使用度量标准发送自定义指标?

发布于 2025-01-27 00:21:58 字数 217 浏览 2 评论 0原文

我有一个Python应用程序,我想从中向我的弹性搜索发送一些自定义指标。用户可以在应用程序上删除数据操作时使用示例(这不是API调用)。我已经在使用Elastic-apm发送真实的用户指标,但是无论如何,我还可以发送许多其他自定义指标,例如我刚刚共享的指标。 我发现的一种方法是使用Elasticsearch客户端,但是可以使用公式游戏(我读到MetricBeat为某些服务提供了公制托运人)。如果我这样做会有什么区别?

I have a python application from which i want to send some custom metrics to my elastic search. An example use case can be when a user does the delete data operation on the application (and this would not be an api call). I am already using elastic-APM to send real user metrics but is there anyway i can also send lots of other custom metrics like the one i just shared.
One way I found was using the ElasticSearch client but is it possible to use metricbeat instead(I read that metricbeat provides metric shipper for some services). What would be the difference if i would do so?

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

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

发布评论

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

评论(1

浮光之海 2025-02-03 00:21:58

Here's some documentation about creating custom metricsets in metricbeat.

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