1

We have this UWP app deployed at some client machines with telemetry code. We now want no telemetry data (if not possible reduce the traffic) to flow into app insights in azure. By deleting the app insights resource itself, will it help in reducing the traffic through client ISP or will there be data going out of the app but just that we are not monitoring any further?

We tried Ingestion sampling, but it discards some of the telemetry that arrives from your app, at a sampling rate that you set. It doesn't reduce telemetry traffic sent from your app.

Is there a way we could handle this without changing the code?

Ivan Glasenberg
  • 29,865
  • 2
  • 44
  • 60

2 Answers2

0

Reduce telemetry traffic sent from your UWP app

The better way is remove telemetry code within client apps. and make new version app and publish the update with store. If you don't want to reduce telemetry with editing code, you could also disable your server api that used to revive telemetry data. And it will make client app filed when posting the data.

Nico Zhu
  • 32,367
  • 2
  • 15
  • 36
  • Thank you, But we had already done the code part, but there are some client machines working on the older versions and we have about 20k client devices as a total. Can you please explain to me how to disable the server API, I don't see a start or stop anywhere in the app insights in Azure. – Elma Sarah Daniel Dec 09 '20 at 07:03
  • Currently, there is no such switch to disable telemetry directly, please check Ivan Yang's comment to set up [firewall](https://learn.microsoft.com/en-us/azure/azure-monitor/app/ip-addresses#outgoing-ports) rule to block it. – Nico Zhu Dec 09 '20 at 07:31
0

Even if you delete the application insights resource, your app still can send telemetry data to azure server, but these data will be rejected. By this way, it cannot reduce the telemetry traffic.

The only possible way is using firewall rule.

And in the future, you can use some code like this to dynamically start/stop telemetry data: TelemetryConfiguration.Active.DisableTelemetry = true;

Ivan Glasenberg
  • 29,865
  • 2
  • 44
  • 60