Skip to content

SENTRY_TAGS environment variable doesn't work after upgrading from 1.7.30 to 3.0.0 #981

Description

@bbednarek

Platform:

  • Android -> If yes, which Device API (and compileSdkVersion/targetSdkVersion/Build tools) version?
  • Java -> If yes, which Java (and sourceCompatibility/targetCompatibility) version?
    targetCompatibility = sourceCompatibility = 14
  • Kotlin -> If yes, which Kotlin (and jvmTarget) version?
  • NDK -> If yes, which NDK/CMake version?
  • React-Native -> If yes, which version?
  • Timber -> If yes, which version?
  • Log4j -> If yes, which version?
  • Logback -> If yes, which version? 1.2.3
  • Spring -> If yes, which version? 2.3.4.RELEASE

IDE:

  • Android Studio -> If yes, which version?
  • IntelliJ -> If yes, which version? 2020.2.2
  • Other -> If yes, which one?

Build system:

  • Gradle -> If yes, which version?
  • Buck -> If yes, which version?
  • Bazel -> If yes, which version?
  • Maven -> If yes, which version?
  • Other -> If yes, which one?

Android Gradle Plugin:

  • Yes -> If yes, which version?
  • No

Sentry Android Gradle Plugin:

  • Yes -> If yes, which version?
  • No

Proguard/R8:

  • Enabled
  • Disabled

Platform installed with:

  • JCenter
  • Bintray
  • Maven Central
  • Manually

The version of the SDK:
3.0.0


I have the following issue:

We used to set following environment variable

"SENTRY_TAGS": "service:%s" %(self.name),

and tags were available in sentry
Screenshot 2020-10-14 at 17 10 06

and after upgrading to version 3.0.0 this variable does't work any more.
Screenshot 2020-10-14 at 17 11 43

Steps to reproduce:
Upgrade

            dependency 'io.sentry:sentry-logback:1.7.30'

to

            dependency 'io.sentry:sentry-logback:3.0.0'

Actual result:
Tags are gone

Expected result:
Tags are present

Metadata

Metadata

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions