针对用户错误的Azure事件中心诊断设置

问题描述 投票:0回答:1

我正在运行一个设置,其中Stream Analytics作业正在从Azure Event Hub读取。事件中心包含在名称空间中,并且专门为SA创建了使用者组。

最近我在事件中心指标上注意到User Errorenter image description here

事件中心命名空间配置为将所有日志推送到OMS:

  • ArchiveLogs
  • OperationalLogs
  • AutoScaleLogs
  • KafkaCoordinatorLogs
  • EventHubVNetConnectionEvent
  • CustomerManagedKeyUserLogs
  • KafkaUserErrorLogs

但是这似乎无法涵盖该特定情况,因为我无法在Log Analytics Workspace中找到该错误(例如,在过去24小时内执行search "UserError")。

搜索文档也无济于事。我发现最接近的是用于Azure的.NET SDK:

Namespace: Microsoft.Azure.EventHubs
Assembly: Microsoft.Azure.EventHubs.dll
UserError Identifies the exception as a user error and user needs to take an action to address the failure.

但是那也不是很有用,因为它甚至没有指出用户是消息的发送者还是接收者。

在这种情况下,UserError是什么,以及如何查明实际情况?

azure azure-eventhub azure-stream-analytics azure-log-analytics
1个回答
0
投票

用户错误通常是由于客户端应用程序中的错误而发生的,

由于类似原因,在事件中心和服务总线中发生用户错误。您可以参考Azure Service Bus Message Queue User Errors Metric

© www.soinside.com 2019 - 2024. All rights reserved.