Skip to content

environment and other fields are missing for transactions #1147

@marandaneto

Description

@marandaneto

Platform:

  • Android -> If yes, which Device API (and compileSdkVersion/targetSdkVersion/Build tools) version?
  • Java -> If yes, which Java (and sourceCompatibility/targetCompatibility) version?
  • 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?
  • Log4j2 -> If yes, which version?
  • Logback -> If yes, which version?
  • Spring -> If yes, which version?

IDE:

  • Android Studio -> If yes, which version?
  • IntelliJ -> If yes, which version?
  • 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?

Platform installed with:

  • JCenter
  • Bintray
  • Maven Central
  • Manually

The version of the SDK:
4.0.0-alpha.2


I have the following issue:

transaction belongs to SentryEvent instead of SentryBaseEvent.
SentryTransaction extends SentryBaseEvent, so no environment is set.

https://docs.sentry.io/product/performance/distributed-tracing/#transactions

describes that environment and other fields should be part of the transaction.

Steps to reproduce:
enable tracing, set environment

Actual result:
transaction doesn't have environment field

Expected result:
transaction has environment field

Metadata

Metadata

Labels

BugIssue typeperformancePerformance API issues

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions