问题描述
我已将项目部署在Azure&使用应用程序见解.部署后,我进行了一些测试,以了解为什么在相应的Application Insights中写入了一些痕迹.
I have deployed my project in Azure & using Application Insights. After deployment, I have done some test that why some traces wrote in respective Application Insights.
但是,我只想要一个全新的(无痕迹的)Application Insights,而无需创建新的Application Insights资源.
But, I just want a fresh (without any trace) Application Insights without creating a new Application Insights resource.
是否可以从Application Insights中删除以前的跟踪?怎么样?
Is it possible to remove the previous traces from Application Insights? how?
* Application Insights-系统监控器和Azure的跟踪/日志查看器.
*Application Insights- system monitor & trace/log viewer at Azure.
推荐答案
无法删除任何数据.保留政策天后(我猜是1或2周),它将自动清除.
It's impossible to delete any data. It ll auto-clear after retention policy days (I guess 1 or 2 weeks).
请参阅 SO链接讨论在调试/测试时禁用遥测.
See SO link talking about disabling telemetry while debug/testing.
顺便说一句,您可以投票将此想法付诸实施.
Btw, You can vote to bring this idea up for implementation.
更新:
删除/清除数据的想法已经完成.现在可以清除AppInsights中的数据了.
Update:
The idea of deleting/purging data is completed. Now it’s possible to purge the data from AppInsights.
https://docs.microsoft.com/en-us/rest/api/application-insights/components/purge
这篇关于从应用程序洞察力中删除跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!