简体   繁体   English

如何在Stagemonitor中使用指标

[英]How to use Metrics in Stagemonitor

I am using stagemonitor for get metrics for different methods. 我正在使用stagemonitor来获取不同方法的指标。 I'm using PetClinic application locally for get a idea and using browser-widget for testing.I find that we can track metrics using @Timed , @Metered annotations. 我正在本地使用PetClinic应用程序来了解想法,并使用浏览器小工具进行测试。我发现我们可以使用@Timed和@Metered批注来跟踪指标。 Is it possible to use them in the petclinic application and view them from browser-widget. 是否可以在petclinic应用程序中使用它们并从浏览器小工具中查看它们。

I'm afraid this is currently not possible. 恐怕目前无法实现。 However, stagemonitor offers a "Custom Metrics" dashboard for Grafana. 但是,stagemonitor为Grafana提供了“自定义指标”仪表板。

To see the metrics locally, currently the only way is to enable periodic logging of all metrics. 要在本地查看指标,当前唯一的方法是启用所有指标的定期日志记录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 Flink 指标 - How to use Flink Metrics StageMonitor:禁用浏览器小部件 - StageMonitor: Disable Browser Widget Stagemonitor与JMX监视相比的优势 - Benefits of Stagemonitor over JMX monitoring 如何为WindowedStream数据使用指标系统或类似的东西? - How to use metrics system or similar things for WindowedStream data? 如何使用Prometheus的JMX导出器java代理来收集自定义指标 - How to use Prometheus' JMX exporter java agent to collect custom metrics 如何从SpringBoot应用程序发出自定义指标并在PCF Autoscaler中使用它 - How to emit custom metrics from SpringBoot application and use it in PCF Autoscaler 如何使用千分尺指定我想要在spring-boot中使用的度量标准的白名单 - How to specify a whitelist of the metrics I want to use in spring-boot with micrometer 如何在不使用 Spring 或 Spring Boot 的情况下使用 Micrometer 在 TICK 堆栈上收集指标? - How to use Micrometer for metrics collection on TICK stack without using Spring or Spring Boot? 如何从 prometheus 获取指标数据并在 java springboot App 中使用? - how to fetch metrics data from prometheus and use it within java springboot App? 如何向 Prometheus 公开 Dropwizard 指标 - How to expose Dropwizard Metrics to Prometheus
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM