Skip to content

Commit b5eda0b

Browse files
committed
Split up tracing and metrics
1 parent 7857258 commit b5eda0b

File tree

8 files changed

+617
-266
lines changed

8 files changed

+617
-266
lines changed

sentry-android-core/api/sentry-android-core.api

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,8 @@ public final class io/sentry/android/core/SentryAndroidOptions : io/sentry/Sentr
360360
public fun isEnableAppComponentBreadcrumbs ()Z
361361
public fun isEnableAppLifecycleBreadcrumbs ()Z
362362
public fun isEnableApplicationStartInfo ()Z
363+
public fun isEnableApplicationStartInfoMetrics ()Z
364+
public fun isEnableApplicationStartInfoTracing ()Z
363365
public fun isEnableAutoActivityLifecycleTracing ()Z
364366
public fun isEnableAutoTraceIdGeneration ()Z
365367
public fun isEnableFramesTracking ()Z
@@ -389,6 +391,8 @@ public final class io/sentry/android/core/SentryAndroidOptions : io/sentry/Sentr
389391
public fun setEnableAppComponentBreadcrumbs (Z)V
390392
public fun setEnableAppLifecycleBreadcrumbs (Z)V
391393
public fun setEnableApplicationStartInfo (Z)V
394+
public fun setEnableApplicationStartInfoMetrics (Z)V
395+
public fun setEnableApplicationStartInfoTracing (Z)V
392396
public fun setEnableAutoActivityLifecycleTracing (Z)V
393397
public fun setEnableAutoTraceIdGeneration (Z)V
394398
public fun setEnableFramesTracking (Z)V
@@ -544,14 +548,18 @@ public final class io/sentry/android/core/ViewHierarchyEventProcessor : io/sentr
544548
public final class io/sentry/android/core/cache/AndroidEnvelopeCache : io/sentry/cache/EnvelopeCache {
545549
public static final field LAST_ANR_MARKER_LABEL Ljava/lang/String;
546550
public static final field LAST_ANR_REPORT Ljava/lang/String;
551+
public static final field LAST_APP_START_MARKER_LABEL Ljava/lang/String;
552+
public static final field LAST_APP_START_REPORT Ljava/lang/String;
547553
public static final field LAST_TOMBSTONE_MARKER_LABEL Ljava/lang/String;
548554
public static final field LAST_TOMBSTONE_REPORT Ljava/lang/String;
549555
public fun <init> (Lio/sentry/android/core/SentryAndroidOptions;)V
550556
public fun getDirectory ()Ljava/io/File;
551557
public static fun hasStartupCrashMarker (Lio/sentry/SentryOptions;)Z
552558
public static fun lastReportedAnr (Lio/sentry/SentryOptions;)Ljava/lang/Long;
559+
public static fun lastReportedAppStart (Lio/sentry/SentryOptions;)Ljava/lang/Long;
553560
public static fun lastReportedTombstone (Lio/sentry/SentryOptions;)Ljava/lang/Long;
554561
public fun store (Lio/sentry/SentryEnvelope;Lio/sentry/Hint;)V
562+
public static fun storeAppStartTimestamp (Lio/sentry/SentryOptions;J)V
555563
public fun storeEnvelope (Lio/sentry/SentryEnvelope;Lio/sentry/Hint;)Z
556564
}
557565

@@ -602,6 +610,9 @@ public class io/sentry/android/core/performance/AppStartMetrics : io/sentry/andr
602610
public fun getAppStartTimeSpanWithFallback (Lio/sentry/android/core/SentryAndroidOptions;)Lio/sentry/android/core/performance/TimeSpan;
603611
public fun getAppStartType ()Lio/sentry/android/core/performance/AppStartMetrics$AppStartType;
604612
public fun getApplicationOnCreateTimeSpan ()Lio/sentry/android/core/performance/TimeSpan;
613+
public fun getApplicationStartInfo ()Landroid/app/ApplicationStartInfo;
614+
public fun getApplicationStartInfoTags ()Ljava/util/Map;
615+
public fun getApplicationStartInfoUnixOffsetMs ()J
605616
public fun getClassLoadedUptimeMs ()J
606617
public fun getContentProviderOnCreateTimeSpans ()Ljava/util/List;
607618
public static fun getInstance ()Lio/sentry/android/core/performance/AppStartMetrics;
@@ -624,6 +635,7 @@ public class io/sentry/android/core/performance/AppStartMetrics : io/sentry/andr
624635
public fun setAppStartProfiler (Lio/sentry/ITransactionProfiler;)V
625636
public fun setAppStartSamplingDecision (Lio/sentry/TracesSamplingDecision;)V
626637
public fun setAppStartType (Lio/sentry/android/core/performance/AppStartMetrics$AppStartType;)V
638+
public fun setApplicationStartInfo (Landroid/app/ApplicationStartInfo;Ljava/util/Map;J)V
627639
public fun setClassLoadedUptimeMs (J)V
628640
public fun shouldSendStartMeasurements ()Z
629641
}

0 commit comments

Comments
 (0)