本文介绍了与我的客户共享App Insights数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我有一个跨多个客户部署的.NET软件产品,我如何与部分或全部客户共享App Insights性能监控信息,同时保持每个客户的完整性/安全性?


If I have a .NET software product that is deployed across multiple customers, how can I share the App Insights performance monitoring information with some or all of the customers while maintaining integrity/security of each customer?

情景看起来像这样......

scenario looks like this ...

软件公司= SD  (获得App Insights许可)

Software Company = SD  (licensed for App Insights)

客户A(使用SD的产品,未获得App Insights许可)

Customer A (uses SD's product, not licensed for App Insights)

客户B(使用SD的产品,也直接使用)许可用于App Insights)

Customer B (uses SD's product, also directly licensed for App Insights)

SD在.NET应用程序中嵌入主要AI Key,在公司托管平台上为客户A部署应用程序, 在客户管理的Azure平台上为客户B。

SD embeds primary AI Key in .NET application, deploys the application on company managed platform for customer A, and on customer managed Azure platform for customer B.

客户B希望提供SD Key的AI Key以包含在.NET可执行文件中(也许在运行时,使用INI文件?)考虑是允许客户B查看与其应用程序实例隔离的性能指标,同时仍允许SD
收集所有已部署实例的指标。客户B不应该访问在SD许可的AI实例中收集的客户A的指标。

Customer B would like to provide AI Key to SD for inclusion in the .NET executable (maybe at run-time, using INI file?) Thought would be to allow customer B to see performance metrics isolated to their instance of the application while still allowing SD to collect metrics for all deployed instances. Customer B should not have access to Customer A's metrics that re being collected in the SD licensed instance of AI.

这有意义吗? 我可以根据需要详细说明,但不想过度吹嘘。

Does that make sense?  I can elaborate if needed, but didn't want to overblow it.

推荐答案

感谢您与我们联系!

您可以通过Azure Application Insights控制谁已读取和更新您的数据访问权限使用

Microsoft Azure中基于角色的访问控制

You can control who has read and update access to your data in Azure Application Insights, by usingRole-based access control in Microsoft Azure.

此外,
this
文档说明了如何在Application Insights中管理资源,角色和访问控制。

Also, this document explains how you can manage resources, roles, and access control in Application Insights.

这是另一个相关信息nt
线程
共享对azure门户中的应用程序洞察数据的访问权限,供您参考。

Here is another relevant thread from Stack Overflow for your reference.

请尝试一下,如果有其他问题,请随时回复!希望这会有所帮助!

Please try it out and feel free to revert in case of additional questions! Hope this helps!


这篇关于与我的客户共享App Insights数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 03:30