Disable IP address collection
See original GitHub issueI’m using app insights to add telemetry to our VS Code extensions. Things work really well, but there is one issue:
How can I disable the collection of the Client IP address per event? And I guess I’d really also like to not collect City and “State or province”. I already have a filter running that I added via addTelemetryProcessor, but the envelope I get there doesn’t have those fields, they must be added at some later point in the pipeline.
I don’t want to collect that information because it potentially is user-identifying (because it would give away the client machine IP address where someone is running VS Code), so from a privacy point of view I don’t want that data, plus we also really don’t need it.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Disable IP Address Collection In Qualtrics
Disable IP Address collection in Qualtrics ... When in survey view, go to Survey Options. Scroll down to “Survey Termination” and check off...
Read more >How do I prevent Qualtrics from collecting IP addresses?
If you do not wish to collect IP addresses when using Qualtrics, please see the Qualtrics page for step-by-step instructions to anonymize responses....
Read more >Instructions for Preventing the Collection of IP Address from a ...
Enabling the “Anonymize Responses” setting is an effective way to permanently scrub a response of identifying information before saving it in the data....
Read more >How to hide your IP address (8 ways, 6 are free) - Comparitech
Even though you can never hide your real IP address from your ISP, you can hide the content and destination of your internet...
Read more >How to Hide Your IP Address in 2022 - Security.org
You can hide your IP address by either using the Tor browser, a proxy server, or a free VPN. You can also join...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Closing this, as IP is now always sanitized to 0.0.0.0 at ingestion time (although after City/Location is extracted). Forcing a dummy IP like @Dmitry-Matveev described will disable City/Location as well.
That’s correct, in IPv4 the last octet is always removed. Similar rules are applied for IPv6 data (though with many more segments removed due to IPv6 potentially being more identifiable).
@Dmitry-Matveev Do you know if this is becoming more aggressive for further protection or if there’s a way for users to disable this collection done by our backend?