Skip to content

Servername no longer defaults to hostname #1109

@francisdb

Description

@francisdb

Platform:

  • Java -> If yes, which Java (and sourceCompatibility/targetCompatibility) version? openjdk 11.0.8 2020-07-14
  • Logback -> If yes, which version? 1.2.3

Build system:

  • Other -> If yes, which one? sbt

Platform installed with:

  • Maven Central

The version of the SDK:
3.2.0


I have the following issue:

this is a continuation of #992

On sentry 1.x servername was automatically set by picking up the local hostname
On sentry 3.x that default seems to be removed

The legacy docs have this section:

For many integrations the server name actually corresponds to the device hostname, even in situations where the machine is not actually a server. Most SDKs will attempt to auto-discover this value.

We try to configure sentry without binary dependencies (only properties file/env vars/system properties). Is there a property we can set to have sentry look up the hostname like it used to do?

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions