Sentry Python SDK, don't send server_name

I was wondering how I can prevent sending the machine’s hostname to sentry?
Setting sending_default_pii to False didn’t have any effect. on that.
Thanks in advance!

You can typically override the ‘server_name’ attribute in core config. Setting it to an empty value might be enough, but I dont know the specifics of the current generation SDKs.


We don’t consider the hostname PII because it usually is not a unique identifier. MAC address probably would be.

Yep! it works, thanks :smiley: