File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ describe('SDK Codes', () => {
22
22
[ 'debugStreamEventReceived' , [ logger ] ] ,
23
23
[ 'infoStreamStopped' , [ logger ] ] ,
24
24
[ 'infoMetricsSuccess' , [ logger ] ] ,
25
+ [ 'infoTargetMetricsExceeded' , [ logger ] ] ,
26
+ [ 'infoEvaluationMetricsExceeded' , [ logger ] ] ,
25
27
[ 'infoMetricsThreadExited' , [ logger ] ] ,
26
28
[
27
29
'debugEvalSuccess' ,
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ const sdkCodes: Record<number, string> = {
33
33
7001 : 'Metrics stopped' ,
34
34
7002 : 'Posting metrics failed, reason:' ,
35
35
7003 : 'Metrics posted successfully' ,
36
+ 7004 : 'Target metrics exceeded max size, remaining targets for this analytics interval will not be sent' ,
37
+ 7007 : 'Evaluation metrics exceeded max size, remaining evaluations for this analytics interval will not be sent'
36
38
} ;
37
39
38
40
function getSDKCodeMessage ( key : number ) : string {
@@ -107,6 +109,14 @@ export function infoMetricsThreadExited(logger: Logger): void {
107
109
logger . info ( getSdkErrMsg ( 7001 ) ) ;
108
110
}
109
111
112
+ export function infoTargetMetricsExceeded ( logger : Logger ) : void {
113
+ logger . info ( getSdkErrMsg ( 7004 ) ) ;
114
+ }
115
+
116
+ export function infoEvaluationMetricsExceeded ( logger : Logger ) : void {
117
+ logger . info ( getSdkErrMsg ( 7007 ) ) ;
118
+ }
119
+
110
120
export function debugEvalSuccess (
111
121
result : string ,
112
122
flagIdentifier : string ,
You can’t perform that action at this time.
0 commit comments