Skip to content

release, server_name and component no longer picked up after upgrade to 3.x #992

@francisdb

Description

@francisdb

I did not find a migration guide pointing to things that might break when migrating from 1.x to 3.x?

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.1.0


I have the following issue:

We tried sentry-logback 3.1.0 by just changing the version in our build, coming from 1.7.30

First error came in but we no longer have release, server_name and component tags populated

Steps to reproduce:

This is how we set them up
Code

// first line in `main` (scala)
System.setProperty("sentry.release", BuildInfo.version)

env var
SENTRY_SERVERNAME

sentry.properties
tags=component:xyz

Actual result:

None of the above picked up by sentry

Expected result

Same behavior as when using sentry-logback 1.7.30

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions