Azure Notification Hub: How to view per message telemetry?

旧时模样 提交于 2019-12-11 13:32:06

问题


On the pricing page for Azure Notification Hubs: https://azure.microsoft.com/en-us/pricing/details/notification-hubs/

It states that "Standard namespaces have access to Per Message Telemetry and Push Notification Services Feedback". I am using a Standard namespace.

The app is sending template based notifications to an iOS app from my back end using the C# Notification Hub client. For example:

NotificationOutcome result = await hub.SendTemplateNotificationAsync(params, tags);

The result.State is coming back as Enqueued, but some notifications are not being delivered and I am trying to figure out why. (There are no bad registrations in the hub - I have already checked that.)

In the Azure portal, I can see aggregate metrics of messages received by the hub, errors, etc. - but I cannot seem to view the specific results of a push message to determine why it failed to reach the device, or even if it was successfully handed off to APNS.

How can I see the results of an attempted push? Is this even possible with Azure Notification Hubs?


回答1:


Did you try Fiddler+https://msdn.microsoft.com/en-us/library/azure/mt608135.aspx ?

Also, as far as i know, Apple does not guarantee the delivery of all notifications. 1) Is Apple's push notification service reliable?

More of that, 2) https://azure.microsoft.com/en-us/documentation/articles/notification-hubs-faq/

"A PNS does not guarantee any SLA for delivering notifications; however, typically a vast majority of push notifications are delivered to target devices within a few minutes (usually within the limits of 10 minutes) from the time they are sent to our platform. "



来源:https://stackoverflow.com/questions/36554019/azure-notification-hub-how-to-view-per-message-telemetry

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!