File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/internal/plugins/helpers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import { PACKAGE_VERSION } from '../../environment';
44import { metrics } from '../../metrics' ;
55
66export function reportRuntimeApiLoadMetric ( ) {
7- metrics . sendPanoramaMetric ( { eventName : 'awsui-runtime-api-loaded' , eventDetail : { version : PACKAGE_VERSION } } ) ;
7+ metrics . sendPanoramaMetric ( { eventContext : 'awsui-runtime-api-loaded' , eventDetail : { version : PACKAGE_VERSION } } ) ;
88}
99
1010export function reportRuntimeApiWarning ( component : string , message : string ) {
1111 console . warn ( '[AwsUi]' , `[${ component } ]` , message ) ;
1212 metrics . sendPanoramaMetric ( {
13- eventName : 'awsui-runtime-api-warning' ,
13+ eventContext : 'awsui-runtime-api-warning' ,
1414 eventDetail : { version : PACKAGE_VERSION , component, message } ,
1515 } ) ;
1616}
You can’t perform that action at this time.
0 commit comments