From d2947d12e902d2972305b0e1d9e80bdf2db8bfbb Mon Sep 17 00:00:00 2001 From: Markus Hintersteiner Date: Wed, 6 Dec 2023 08:59:10 +0100 Subject: [PATCH] Add slow and frozen frames span data conventions --- sentry/api/sentry.api | 3 +++ sentry/src/main/java/io/sentry/SpanDataConvention.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sentry/api/sentry.api b/sentry/api/sentry.api index b7a0d49261..8f41fb9148 100644 --- a/sentry/api/sentry.api +++ b/sentry/api/sentry.api @@ -2563,6 +2563,9 @@ public abstract interface class io/sentry/SpanDataConvention { public static final field CALL_STACK_KEY Ljava/lang/String; public static final field DB_NAME_KEY Ljava/lang/String; public static final field DB_SYSTEM_KEY Ljava/lang/String; + public static final field FRAMES_FROZEN Ljava/lang/String; + public static final field FRAMES_SLOW Ljava/lang/String; + public static final field FRAMES_TOTAL Ljava/lang/String; public static final field HTTP_FRAGMENT_KEY Ljava/lang/String; public static final field HTTP_METHOD_KEY Ljava/lang/String; public static final field HTTP_QUERY_KEY Ljava/lang/String; diff --git a/sentry/src/main/java/io/sentry/SpanDataConvention.java b/sentry/src/main/java/io/sentry/SpanDataConvention.java index 7ca8d7b8b5..ffbf65db83 100644 --- a/sentry/src/main/java/io/sentry/SpanDataConvention.java +++ b/sentry/src/main/java/io/sentry/SpanDataConvention.java @@ -17,4 +17,7 @@ public interface SpanDataConvention { String CALL_STACK_KEY = "call_stack"; String THREAD_ID = "thread.id"; String THREAD_NAME = "thread.name"; + String FRAMES_TOTAL = "frames.total"; + String FRAMES_SLOW = "frames.slow"; + String FRAMES_FROZEN = "frames.frozen"; }