简体   繁体   English

Azure中的自定义指标

[英]Custom metrics in Azure

I want to create a custom metrics with custom data for VM and cloud services operation in Azure using Java? 我想使用Java为Azure中VM和云服务操作的自定义数据创建自定义指标吗? How to create it? 如何创建呢?

Basically I need to add custom metric in Azure operation insight. 基本上,我需要在Azure操作洞察中添加自定义指标。 I am only getting the details of adding custom metrics in the Application insight, which is out of scope for my project. 我只是在“应用程序洞察”中获得添加自定义指标的详细信息,这超出了我的项目范围。

My requirement is to add the custom metrics for the virtual machine and cloud services using Java code. 我的要求是使用Java代码为虚拟机和云服务添加自定义指标。

Based on my understanding, it's a broad question, but I think there are some direction can help you. 根据我的理解,这是一个广泛的问题,但是我认为有一些指导可以帮助您。

  1. If you want to collect data to help diagnose issues for your Java project using Application Insights, there are some documents you can refer to, please see Application Insights API for custom events and metrics and Get started with Application Insights in a Java web project . 如果要使用Application Insights收集数据以帮助诊断Java项目问题,可以参考一些文档,请参阅Application Insights API中的自定义事件和指标,以及Java Web项目中的Application Insights入门

  2. If you want to get insights into your Azure resource like VM or cloud services, you can refer to the Azure Insight REST API Reference . 如果要深入了解Azure资源(如VM或云服务),可以参考《 Azure Insight REST API参考》

  3. To transforming machine data into operation intelligence, you need to see https://azure.microsoft.com/en-us/documentation/services/operational-insights/ and get started via follow the document https://technet.microsoft.com/library/mt484118.aspx . 要将机器数据转换为操作智能,您需要查看https://azure.microsoft.com/zh-cn/documentation/services/operational-insights/并通过遵循文档https://technet.microsoft.com来开始使用/library/mt484118.aspx

Hope it helps. 希望能帮助到你。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM