|
@@ -1,6 +1,8 @@
|
|
|
export type TracingEventParameters = {
|
|
|
- 'trace.shape': {
|
|
|
+ 'trace.metadata': {
|
|
|
+ num_root_children: number;
|
|
|
shape: string;
|
|
|
+ trace_duration_seconds: number;
|
|
|
};
|
|
|
'trace.trace_layout.change': {
|
|
|
layout: string;
|
|
@@ -14,6 +16,10 @@ export type TracingEventParameters = {
|
|
|
interaction: string;
|
|
|
};
|
|
|
'trace.trace_layout.show_in_view': {};
|
|
|
+ 'trace.trace_layout.span_row_click': {
|
|
|
+ num_children: number;
|
|
|
+ project_platform: string;
|
|
|
+ };
|
|
|
'trace.trace_layout.tab_pin': {};
|
|
|
'trace.trace_layout.tab_view': {
|
|
|
tab: string;
|
|
@@ -23,6 +29,13 @@ export type TracingEventParameters = {
|
|
|
module: string;
|
|
|
};
|
|
|
'trace.trace_layout.view_shortcuts': {};
|
|
|
+ 'trace.trace_layout.view_similar_spans': {
|
|
|
+ module: string;
|
|
|
+ source: string;
|
|
|
+ };
|
|
|
+ 'trace.trace_layout.view_span_summary': {
|
|
|
+ module: string;
|
|
|
+ };
|
|
|
'trace.trace_layout.zoom_to_fill': {};
|
|
|
'trace.trace_warning_type': {
|
|
|
type: string;
|
|
@@ -41,6 +54,8 @@ export type TracingEventParameters = {
|
|
|
};
|
|
|
'trace_explorer.search_success': {
|
|
|
has_data: boolean;
|
|
|
+ num_traces: number;
|
|
|
+ project_platforms: string[];
|
|
|
queries: string[];
|
|
|
};
|
|
|
'trace_explorer.toggle_trace_details': {
|
|
@@ -51,7 +66,7 @@ export type TracingEventParameters = {
|
|
|
export type TracingEventKey = keyof TracingEventParameters;
|
|
|
|
|
|
export const tracingEventMap: Record<TracingEventKey, string | null> = {
|
|
|
- 'trace.shape': 'Trace Shape',
|
|
|
+ 'trace.metadata': 'Trace Load Metadata',
|
|
|
'trace.trace_layout.change': 'Changed Trace Layout',
|
|
|
'trace.trace_layout.drawer_minimize': 'Minimized Trace Drawer',
|
|
|
'trace.trace_layout.show_in_view': 'Clicked Show in View Action',
|
|
@@ -66,6 +81,9 @@ export const tracingEventMap: Record<TracingEventKey, string | null> = {
|
|
|
'trace.trace_layout.search_clear': 'Clear Trace Search',
|
|
|
'trace.trace_layout.view_in_insight_module': 'View Trace Span in Insight Module',
|
|
|
'trace.trace_layout.search_match_navigate': 'Navigate Trace Search Matches',
|
|
|
+ 'trace.trace_layout.view_similar_spans': 'View Similar Spans in Trace',
|
|
|
+ 'trace.trace_layout.view_span_summary': 'View Span Summary in Trace',
|
|
|
+ 'trace.trace_layout.span_row_click': 'Clicked Span Row in Trace',
|
|
|
'trace_explorer.add_span_condition': 'Trace Explorer: Add Span Condition',
|
|
|
'trace_explorer.open_in_issues': 'Trace Explorer: Open Trace in Issues',
|
|
|
'trace_explorer.open_trace': 'Trace Explorer: Open Trace in Trace Viewer',
|