@@ -22,10 +22,12 @@ import {
2222 EMPTY_STATE_ERROR_MESSAGE ,
2323 EMPTY_STATE_ERROR_REMEDY_MESSAGE ,
2424 explorationDS ,
25+ filterStreamingProgressTransformations ,
2526} from '../../../../../utils/shared' ;
2627import { getTraceByServiceScene , getFiltersVariable } from '../../../../../utils/utils' ;
2728import { buildExceptionsQuery } from 'components/Explore/queries/exceptions' ;
2829import { aggregateExceptions } from './ExceptionUtils' ;
30+ import { reportAppInteraction , USER_EVENTS_ACTIONS , USER_EVENTS_PAGES } from 'utils/analytics' ;
2931
3032export interface ExceptionsSceneState extends SceneObjectState {
3133 panel ?: SceneFlexLayout ;
@@ -49,7 +51,7 @@ export class ExceptionsScene extends SceneObjectBase<ExceptionsSceneState> {
4951
5052 const dataTransformer = this . state . $data as SceneDataTransformer ;
5153 dataTransformer . setState ( {
52- transformations : [ this . createTransformation ( ) ] ,
54+ transformations : [ ... filterStreamingProgressTransformations , this . createTransformation ( ) ] ,
5355 } ) ;
5456
5557 this . addActivationHandler ( ( ) => {
@@ -287,8 +289,6 @@ export class ExceptionsScene extends SceneObjectBase<ExceptionsSceneState> {
287289 } ,
288290 } ;
289291
290- console . log ( sparklineData ) ;
291-
292292 return (
293293 < div className = { styles . sparklineContainer } >
294294 < Sparkline
@@ -322,6 +322,7 @@ export class ExceptionsScene extends SceneObjectBase<ExceptionsSceneState> {
322322 if ( rowIndex !== undefined ) {
323323 const message = event . origin ?. field ?. values ?. [ rowIndex ] ;
324324 if ( message ) {
325+ reportAppInteraction ( USER_EVENTS_PAGES . analyse_traces , USER_EVENTS_ACTIONS . analyse_traces . exception_message_clicked ) ;
325326 this . navigateToTracesWithFilter ( message ) ;
326327 }
327328 }
@@ -362,7 +363,7 @@ export class ExceptionsScene extends SceneObjectBase<ExceptionsSceneState> {
362363 . replace ( / [ \n \r \t ] / g, ' ' )
363364 . replace ( / \s + / g, ' ' )
364365 . replace ( / \\ / g, '\\\\' )
365- . replace ( / " / g, '\\ "' )
366+ . replace ( / " / g, '\"' )
366367 . trim ( ) ;
367368 }
368369
0 commit comments