Metrics not available for Azure Relay - azure

We are currently using Azure WCF Relays, with many listeners and senders.
But metrics are not available.
.
Is there a way to activate metrics in Azure Relay?

Related

How to collect Azure Eventhub metrics that can't be exported to Azure Monitor

We are working with Azure Event Hub and want to build comprehensive monitoring plate, where we could collect some metrics that are not exportable via Diagnostics settings into Azure Monitor (Log Analytics Workspace). According to this doc we can't export "Throttled Requests" or "Active Connections" for example. However we need such metrics to conduct advanced analysis and building control plate on our data platform.
How we can obtain such metrics in our storage ?
You can export the metrics using the Metrics API of the Azure Resource Manager. There are also SDKs available, e.g. for .NET.
https://learn.microsoft.com/en-us/rest/api/monitor/metrics/list?tabs=HTTP

Connect Azure IoTHub to application insights

I am building an application in Azure, and I really like the application Insights "Application Map". I would like to integrate IoTHub to the map, so I can check the entire stack from device to webinterface in one central place.
What I have tried:
I tried creating a diagnostic setting directly in the IoTHub.
For destination I used the same Log Analytics workspace as my application insights is using.
Results:
I can see logs using the "Logs" tab under the IoTHub, but nothing in the application insights.
The actual question:
How do I connect the IoTHub to the application insights? If this is not possible, what do you normally do to check if everything is as it should be inside the IoTHub?
Application Insights is a feature of Azure Monitor that provides extensible application performance management (APM) and monitoring for live web apps.
What metrics do you plan to track through Application Insights?
When you have critical applications and business processes relying on Azure resources, you want to monitor those resources for their availability, performance, and operation. You can use the features of Azure Monitor to analyze, monitor data generated by Azure IoT Hub and setup alerts.
Azure IoT Hub creates monitoring data using Azure Monitor, which is a full stack monitoring service in Azure that provides a complete set of features to monitor your Azure resources in addition to resources in other clouds and on-premises.
Start with the article Monitoring Azure resources with Azure Monitor, which describes the following concepts:
What is Azure Monitor?
Costs associated with monitoring
Monitoring data collected in Azure
Configuring data collection
Standard tools in Azure for analyzing and alerting on monitoring data
Please see Monitoring Azure IoT Hub and Set up and use metrics and logs with an IoT hub for more details.

Kafka monitoring in Azure

We are hosting Confluent Platform services(broker, zookeeper, schema-registry etc.) in Azure VMs. What is the best option to scrape metrics from these and visualize in Azure monitor or application insights?
I am thinking to scrape JMX metrics and visualize in azure monitor/app insights. Monitoring will include things like health status, message flow in topics, produce/consume rate, VM health etc.
What are some good options to implement this? Any better ideas?
PS- I only want to use Azure native services for monitoring/dashboards.
You can add java agents by exporting the environment variable KAFKA_OPTS. Through that, you can add any additional JVM monitoring
Azure docs - https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-in-process-agent

Log analytics query for Monitoring external IP

I need to monitor an external IP. This is for the Virtual Network Gateway, I cant use AzureDiagnostics because we are using Policy based tunnel.
Anyone with an idéa for monitoring this external IP? And get it in Log analytics for monitoring?
Azure supports metric Microsoft.Network/publicIPAddresses type in Azure Monitor. You could use metrics explorer to analyze collected metrics on a chart and compare metrics from different resources. You can also retrieve metrics by using the Azure monitoring REST API. Moreover, for non-VM resources, you need to configure diagnostic settings to send logs for log analytics.

How to add alert in Azure monitor for VM insight metrics?

I enabled the VM insights for few VMs. How can I create alerts for those metrics in Azure monitor?
How can I create alerts for those metrics in Azure monitor?
You can not create alerts for the metrics provided by VM insights. VM insight preview provides an in-depth view of VM health, performance trends, and dependencies. You can create these metrics alert for VM.
Moreover, Standard or Platform metrics are limited, you can try to make custom metrics via a variety of methods on your Azure VM to collect some custom performance indicators or business-specific metrics to provide deeper insights. Once published to Azure Monitor, you can alert on custom metrics for your Azure resources side by side the standard metrics emitted by Azure.
Ref: Send guest OS metrics to the Azure Monitor metric store using a Resource Manager template for a Windows Virtual Machine

Resources